Closed Niki2k1 closed 5 months ago
interesting. can you try this again in canary.42? maybe this is a result of the signal handling changes.
Thanks for you help 🙏 I tried upgrading, but after the upgrade I can't execute the scripts anymore 😅
PS C:\Users\████████\code\███████> bun run dev
$ nuxt dev
error: Failed to due to error bunsh: No such file or directory:
And when I tried to reinstall packages I got hit with:
PS C:\Users\███████\code\███████> bun install
[0.99ms] ".env"
bun install v1.0.30-canary.42 (c9fe57fa)
📦 Installing [1018/994]
uh-oh: incorrect alignment
bun will crash now 😭😭😭
----- bun meta -----
Bun v1.0.30-canary.42 (c9fe57fa) Windows x64
InstallCommand: dotenv
Elapsed: 16259ms | User: 125ms | Sys: 4453ms
RSS: 122.36MB | Peak: 122.36MB | Commit: 0.15GB | Faults: 30207
----- bun meta -----
0 00007FF6EB71FE68
1 ???
2 ???
3 ???
4 ???
5 ???
6 ???
7 ???
8 ???
9 ???
10 ???
11 ???
12 ???
13 ???
14 ???
Search GitHub issues https://bun.sh/issues or join in #windows channel in https://bun.sh/discord
thread 19440 panic: incorrect alignment
???:?:?: 0x7ff6ea900fd0 in ??? (bun.exe)
???:?:?: 0x7ff6eb05fd43 in ??? (bun.exe)
???:?:?: 0x7ff6eb05fc81 in ??? (bun.exe)
???:?:?: 0x7ff6eb054833 in ??? (bun.exe)
???:?:?: 0x7ff6eb0541cf in ??? (bun.exe)
???:?:?: 0x7ff6ea2a833b in ??? (bun.exe)
???:?:?: 0x7ff6ea2f3edb in ??? (bun.exe)
???:?:?: 0x7ff6ea2ee411 in ??? (bun.exe)
???:?:?: 0x7ff6ea3a058a in ??? (bun.exe)
???:?:?: 0x7ff6ea0e157f in ??? (bun.exe)
???:?:?: 0x7ff6ecbd62e3 in ??? (bun.exe)
???:?:?: 0x7ffbc8c4257c in ??? (KERNEL32.DLL)
???:?:?: 0x7ffbc9faaa57 in ??? (ntdll.dll)
Windows, similar error
bun install
bun install v1.0.32-canary.13 (83863c27)
⚙️ sharp [1/3]
uh-oh: incorrect alignment
bun will crash now 😭😭😭
----- bun meta -----
Bun v1.0.32-canary.13 (83863c27) Windows x64
InstallCommand: bunfig extracted_packages
Elapsed: 65675ms | User: 38218ms | Sys: 5203ms
RSS: 0.58GB | Peak: 0.58GB | Commit: 0.82GB | Faults: 290384
----- bun meta -----
0 00007FF6B1AEB618
1 ???
2 ???
3 ???
4 ???
5 ???
6 ???
7 ???
8 ???
9 ???
10 ???
11 ???
12 ???
13 ???
14 ???
Search GitHub issues https://bun.sh/issues or join in #windows channel in https://bun.sh/discord
thread 20920 panic: incorrect alignment
???:?:?: 0x7ff6b0cc4bc4 in ??? (bun.exe)
???:?:?: 0x7ff6b142b59f in ??? (bun.exe)
???:?:?: 0x7ff6b142b27d in ??? (bun.exe)
???:?:?: 0x7ff6b141ffe3 in ??? (bun.exe)
???:?:?: 0x7ff6b141f97f in ??? (bun.exe)
???:?:?: 0x7ff6b0668e5b in ??? (bun.exe)
???:?:?: 0x7ff6b06b4ce7 in ??? (bun.exe)
???:?:?: 0x7ff6b06aec71 in ??? (bun.exe)
???:?:?: 0x7ff6b075b2ca in ??? (bun.exe)
???:?:?: 0x7ff6b04a157f in ??? (bun.exe)
???:?:?: 0x7ff6b2fa1713 in ??? (bun.exe)
???:?:?: 0x7ffeb278257c in ??? (KERNEL32.DLL)
???:?:?: 0x7ffeb42aaa57 in ??? (ntdll.dll)
"dependencies": {
"@astrojs/cloudflare": "^9.1.0",
"@astrojs/markdoc": "^0.9.2",
"@astrojs/react": "^3.1.0",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.1",
"@astrojs/tailwind": "^5.1.0",
"@cloudflare/pages-plugin-mailchannels": "^0.1.2",
"@keystatic/astro": "^5.0.0",
"@keystatic/core": "^0.5.3",
"astro": "^4.5.3",
"gsap": "npm:@gsap/business@^3.12.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@astrolib/seo": "1.0.0-beta.5",
"@biomejs/biome": "1.6.1",
"@cloudflare/workers-types": "^4.20240312.0",
"@iconify-json/ic": "^1.1.17",
"@iconify-json/mdi": "^1.1.64",
"@iconify-json/solar": "^1.1.9",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.22",
"@vite-pwa/astro": "^0.3.0",
"@vite-pwa/assets-generator": "^0.2.4",
"astro-icon": "^1.1.0",
"tailwindcss": "^3.4.1",
"workbox-window": "^7.0.0"
},
"pnpm": {
"overrides": {
"gsap": "npm:@gsap/business@^3.12.5"
}
}
Hvaing a similar issue as well!
Got the same error "error: Failed due to error: bunsh: No such file or directory:" when running scripts in windows.
Seems fixed in 1.1.3. I didn't had any of the other errors as well
What version of Bun is running?
1.0.30-canary.40+44959e682
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
bun run xy
bun run xy
What is the expected behavior?
When CTRL + C to exit a script I want to resuse the terminal afterwards.
What do you see instead?
The terminal hangs, and if ctr + c again I cannot execute something because only each second keypress gets recognized.
Additional information
No response