Comments (4)
Have you tried bun-linux-x64-baseline.zip
?
E.g.,
cd $HOME
mkdir bin
cd bin
wget --show-progress --progress=bar --output-document bun.zip https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64-baseline.zip && unzip bun.zip && rm bun.zip && mv bun-linux-x64-baseline/bun `pwd` && rmdir bun-linux-x64-baseline
Then running . ~/.bashrc
for
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
from bun.
I think the problem it's my old CPU. Have minimun more then 6 years.
What are the hardware requeriments for bun?
from bun.
Did you try the bun-linux-x64-baseline release?
from bun.
i see two things
Instrucción ilegal
(Illegal Instruction
) means the CPU is too old for bun. We have a "baseline build" that should be used and picked automatically. The minimum cpu that bun requires is from the Nehalem line of CPUs or anything equivilent. They're from 2008.
@vicdeveloperr can you try bun-linux-x64-baseline.zip and report back if that works.
If it does work, then we need to figure out why the line in install.sh
# If AVX2 isn't supported, use the -baseline build
if [[ $(cat /proc/cpuinfo | grep avx2) = '' ]]; then
target=linux-x64-baseline
fi
Why this does not get trigged on your machine.
- The script should not succeed after the error. It seems
bun --version
is fine butbun completions
triggers the instruction. At a very minimum we need to report this error and fail the installation if this happens.
from bun.
Related Issues (20)
- Regression in `bun test` in GitHub actions with Bun v1.0.27 HOT 2
- Can't run Astro 4.4.0 with Bun 1.0.27 HOT 3
- bug: EventEmitter or something different? HOT 1
- Bun run doesn't parse package.json scripts with ":"
- Timers are not canceled after `--hot` reload HOT 5
- Nested describes should respect their parent .only scope
- Crash in module loader when cycles exist between ESM & CJS HOT 2
- Setup Method in Bun Plugin not able to run asynchronously
- [Bundler] Single File Executable Compilation: Add complete node_modules dir into a binary HOT 2
- Expose AST parser HOT 1
- Bun doesn't reload .env file values HOT 2
- Bun.file unexpected path HOT 4
- Event loop issue HOT 2
- node fs/promises watch bug HOT 2
- require.resolve unable to find node module HOT 1
- programmatic access to watch mode in Bun.build HOT 1
- Bun shell: files being emptied when used with `<` HOT 1
- Bun multer uploading isn't working every time
- bug: bun build splitting dosn't work
- `ENOTSUP` when calling `lchmod` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bun.