---
title: "Bun v1.0.18"
description: "Bun v1.0.18 fixes 27 bugs, including a process.stdin hang that froze create-vite and create-next-app at the second prompt."
url: "https://swe.quest/articles/bun-v1-0-18-9638e729e8d88398"
canonical: "https://bun.com/blog/bun-v1.0.18"
source: "Bun"
published: "2023-12-14"
difficulty: "medium"
kind: "Release"
reading_minutes: 5
tags: ["javascript","runtimes","linux","testing"]
---

# Bun v1.0.18

A post on [Bun](https://swe.quest/sources/bun.md), published 2023-12-14, 5 min read, Release. Original: [https://bun.com/blog/bun-v1.0.18](https://bun.com/blog/bun-v1.0.18)

## Summary

Bun v1.0.18 fixes 27 bugs, including a process.stdin hang that froze create-vite and create-next-app at the second prompt. The hang came from calling cancel instead of releaseLock on the underlying ReadableStream, plus a stale "in use" state that kept the process alive. Lifecycle scripts no longer fail with "node" or "node-gyp" not found: Bun symlinks node to bun and node-gyp to bunx node-gyp. On Linux, Bun now falls back to ioctl\_ficlone reflinks when copy\_file\_range is disabled (e.g. under gVisor), which speeds up bun install and fs.copyFile/cp. The release also fixes tsconfig wildcard path suffixes and makes expect().rejects.toThrow accept a promise as Jest does.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Linux](https://swe.quest/tags/linux.md) (Infrastructure)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)

## Prerequisites

- Node.js/npm basics ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- JavaScript streams ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Bun, Node.js, ioctl\_ficlone, copy\_file\_range, node-gyp, bun:test, gVisor

## Related posts

- [Bun v1.0.32](https://swe.quest/articles/bun-v1-0-32-1109f83c2797523f.md): Bun · 2024-03-17 · Medium · 4 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.0.32 fixes 13 bugs, several of them regressions from the I/O rewrite in v1.0.31 done in preparation for Windows support. bun install could hang in GitHub Actions because the active lifecycle-script counter was never decremented. --frozen-lockfile and --production still installed packages, and Bun Shell hung on && and || because a file descriptor was left open.
- [Bun v1.1.2](https://swe.quest/articles/bun-v1-1-2-414c241e93595dbb.md): Bun · 2024-04-06 · Easy · 4 min read · JavaScript, Runtimes & VMs, Developer tools
  Bun v1.1.2 focuses on Windows fixes: EBUSY errors when saving bun.lockb or running next dev/vite dev, caused by holding file handles open too long and requesting wrong permissions, are resolved. fs.watch on Windows was rewritten to deduplicate watched paths, and tarball extraction race conditions and invalid-filename handling were fixed.
- [Bun v1.0.9](https://swe.quest/articles/bun-v1-0-9-4679a702514c0ac7.md): Bun · 2023-11-05 · Medium · 3 min read · JavaScript, Build systems, Runtimes & VMs, CI/CD
  Bun v1.0.9 fixes regressions introduced by the v1.0.8 move from a hand-written Makefile to CMake and Ninja: "Illegal instruction" crashes on older x86 and some arm64 CPUs, and "symbol not found" errors on glibc older than 2.28 that broke Vercel.
- [Bun v1.0.31](https://swe.quest/articles/bun-v1-0-31-9173b12d836487e8.md): Bun · 2024-03-14 · Medium · 10 min read · JavaScript, Runtimes & VMs, Supply chain security, Linux
  Bun v1.0.31 adds \`bun --print\` (Node-compatible eval with top-level await, TypeScript and JSX), running code from stdin via \`bun run -\`, \`bun add --trust\` plus \`bun pm untrusted\`/\`trust\` for managing blocked postinstall scripts, and \`fetch()\`/\`node:http\` support for Unix and Linux abstract domain sockets.
- [Bun v1.1.28](https://swe.quest/articles/bun-v1-1-28-8e190941a0fa10b3.md): Bun · 2024-09-18 · Medium · 4 min read · JavaScript, Runtimes & VMs
  Bun v1.1.28 fixes 40 bugs and adds compiling and running C directly from JavaScript to use native system libraries without a separate build step, a 30x faster \`path.resolve\`, and named pipe support on Windows.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
