Coder Social home page Coder Social logo

Comments (6)

aredridel avatar aredridel commented on August 15, 2024 4

Ugh. A bug in https://github.com/aredridel/node-bin-setup — I'll look into it.

from node-bin-gen.

knpwrs avatar knpwrs commented on August 15, 2024 3

I am likewise running into the same issue. The relevant portion of the log appears to be this:

npm ERR! Error: Cannot find module 'node-bin-darwin-arm64/package.json'
npm ERR! Require stack:
npm ERR! - /Users/knpwrs/Downloads/node_modules/node/installArchSpecificPackage.js
npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
npm ERR!     at Function.resolve (node:internal/modules/cjs/helpers:108:19)
npm ERR!     at ChildProcess.<anonymous> (/Users/knpwrs/Downloads/node_modules/node-bin-setup/index.js:19:27)
npm ERR!     at ChildProcess.emit (node:events:390:28)
npm ERR!     at maybeClose (node:internal/child_process:1062:16)
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR!   requireStack: [
npm ERR!     '/Users/knpwrs/Downloads/node_modules/node/installArchSpecificPackage.js'
npm ERR!   ]
npm ERR! }

from node-bin-gen.

aredridel avatar aredridel commented on August 15, 2024 2

It should be node-bin-darwin-arm64; however this required an update to node-bin-setup, so if that's still cached or at version 1.0.0, that'd be the cause. Update that and it should work.

from node-bin-gen.

aredridel avatar aredridel commented on August 15, 2024 1

Try now: I just pushed an update to node-bin-setup that should fix it.

from node-bin-gen.

straub avatar straub commented on August 15, 2024 1

Thanks, that did the trick! I ran npm update node-bin-setup and now all of npm i [email protected], npm i [email protected], and npm i node@18 work like a charm :)

from node-bin-gen.

straub avatar straub commented on August 15, 2024

I'm still getting

npm ERR! Error: Cannot find module 'node-darwin-arm64/package.json'

for npm i [email protected], npm i [email protected], and npm i node@18 on my M1, but haven't totally convinced myself it's not my fault somehow yet :P

from node-bin-gen.

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.