Git Product home page Git Product logo

Comments (4)

guest271314 avatar guest271314 commented on July 19, 2024

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.

vicdeveloperr avatar vicdeveloperr commented on July 19, 2024

I think the problem it's my old CPU. Have minimun more then 6 years.

What are the hardware requeriments for bun?

from bun.

guest271314 avatar guest271314 commented on July 19, 2024

Did you try the bun-linux-x64-baseline release?

from bun.

paperdave avatar paperdave commented on July 19, 2024

i see two things

  1. 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.

  1. The script should not succeed after the error. It seems bun --version is fine but bun 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.