bun
bun copied to clipboard
InstructionError at 0xF590D60200000000
Similar error names found on these issues
#197 #461 #684 #1088
Version
0.1.10
Platform
UNIX:
Linux DESKTOP-5531PRA 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
Windows:
Microsoft Windows NT 10.0.19044.0 x64
What steps will reproduce the bug?
- Install Ubuntu 20.04.4 LTS from Microsoft Store
-
sudo apt update && sudo apt upgrade
-
apt install unzip
-
curl https://bun.sh/install | bash
-
.bashrc
thingy
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
mkdir projects && cd projects && mkdir app && cd app && echo "console.log('index.js')" >> index.js
// projects/app/index.js
console.log('Hello world.');
How often does it reproduce? Is there a required condition?
Persistent, most commands.
What is the expected behavior?
Execute one of the basic commands.
What do you see instead?
ava@DESKTOP-5531PRA:~/projects$ cd app
ava@DESKTOP-5531PRA:~/projects/app$ ls -a
. .. index.js
ava@DESKTOP-5531PRA:~/projects/app$ bun -v
0.1.10
ava@DESKTOP-5531PRA:~/projects/app$ bun help
bun: a fast bundler, transpiler, JavaScript Runtime and package manager for web software.
dev ./a.ts ./b.jsx Start a bun Dev Server
bun ./a.ts ./b.jsx Bundle dependencies of input files into a .bun
init Start an empty Bun project from a blank template
create next ./app Create a new project from a template (bun c)
run test Run JavaScript with bun, a package.json script, or a bin
install Install dependencies for a package.json (bun i)
add @remix-run/dev Add a dependency to package.json (bun a)
link Link an npm package globally
remove backbone Remove a dependency from package.json (bun rm)
unlink Globally unlink an npm package
upgrade Get the latest version of bun
completions Install shell completions for tab-completion
discord Open bun's Discord server
help Print this help menu
ava@DESKTOP-5531PRA:~/projects/app$ bun run index.js
InstructionError at 0xF590D60200000000
----- bun meta -----
Bun v0.1.10 (fe7180bc) Linux x64 #1237-Microsoft Sat Sep 11 14:32:00 PST 2021
RunCommand:
Elapsed: 2ms | User: 0ms | Sys: 31ms
RSS: 67.11MB | Peak: 2.34MB | Commit: 67.11MB | Faults: 0
----- bun meta -----
Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues
ava@DESKTOP-5531PRA:~/projects/app$ bun add
InstructionError at 0xF590D60200000000
----- bun meta -----
Bun v0.1.10 (fe7180bc) Linux x64 #1237-Microsoft Sat Sep 11 14:32:00 PST 2021
AddCommand:
Elapsed: 2ms | User: 0ms | Sys: 15ms
RSS: 67.11MB | Peak: 2.36MB | Commit: 67.11MB | Faults: 0
----- bun meta -----
Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues
ava@DESKTOP-5531PRA:~/projects/app$ bun init
bun init helps you get started with a minimal project and tries to guess sensible defaults. Press ^C anytime to quit
package name (app):
entry point (index.js):
InstructionError at 0xF590D60200000000
----- bun meta -----
Bun v0.1.10 (fe7180bc) Linux x64 #1237-Microsoft Sat Sep 11 14:32:00 PST 2021
Unknown:
Elapsed: 3059ms | User: 0ms | Sys: 15ms
RSS: 67.11MB | Peak: 2.60MB | Commit: 67.11MB | Faults: 0
----- bun meta -----
Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues
ava@DESKTOP-5531PRA:~/projects/app$
Additional information
OS:
Windows 10 21H2 19044.1889
Mobo:
Foxconn G31MX-K
CPU:
Intel Core 2 Quad Q9500
(Doesn't support AVX2 instruction set)
Memory:
4GB 800Mhz DDR2
WSL Version: 1
C:\Windows\system32>wsl -l -v
NAME STATE VERSION
* Ubuntu-20.04 Stopped 1
can you try to manually install build with no avx2? https://github.com/oven-sh/bun/releases/tag/bun-v0.1.10 - download yourarch-baseline
Still persists, tried manual install with https://github.com/oven-sh/bun/releases/download/bun-v0.1.10/bun-linux-x64-baseline.zip
Should be fixed due to building for non-AVX in -baseline
If you still see this please leave a comment