Giter Club home page Giter Club logo

Comments (5)

RafalFilipek avatar RafalFilipek commented on June 11, 2024 1

In your case it looks like you're missing node-gyp

node-gyp: command not found

Did you try to install with nom on the exact same machine.

Can you try 'which node-gyp' in your terminal?

Regarding my case.
Maybe this is somehow related to macOS m2 processor etc? No idea :/

from builder.

samijaber avatar samijaber commented on June 11, 2024

I am unable to reproduce, using the same npm/node versions as you on a clean project (I created an empty folder and ran npm init -y before the screenshot:

CleanShot 2024-01-02 at 16 46 48@2x

I'm on an M1 mac, not sure if that makes any difference.

from builder.

andrea-mmo avatar andrea-mmo commented on June 11, 2024

I'm also experiencing the same issue

yarn add v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
[-/2] ⠠ waiting...
error /Users/name/Repos/Test/repo/node_modules/isolated-vm: Command failed.
Exit code: 127
Command: prebuild-install || (node-gyp rebuild --release -j max && node-gyp clean)
Arguments:
Directory: /Users/name/Repos/Test/repo/node_modules/isolated-vm
Output:
prebuild-install warn install No prebuilt binaries found (target=18.18.2 runtime=node arch=arm64 libc= platform=darwin)
/bin/sh: node-gyp: command not found
node -v
v18.18.2

yarn -v
1.22.19

UPDATE: it worked well with NPM

from builder.

andrea-mmo avatar andrea-mmo commented on June 11, 2024

In your case it looks like you're missing node-gyp

node-gyp: command not found

Did you try to install with nom on the exact same machine.

Can you try 'which node-gyp' in your terminal?

Regarding my case. Maybe this is somehow related to macOS m2 processor etc? No idea :/

Yeah that worked thank you @RafalFilipek

from builder.

samijaber avatar samijaber commented on June 11, 2024

@RafalFilipek are you still facing issues? Did the workaround you provided to @andrea-mmo work for you?

from builder.

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.