Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the inquirer package breaks while installing on mac os sonoma (npx scope) #1317

Closed
tobiu opened this issue Oct 11, 2023 · 3 comments
Closed

Comments

@tobiu
Copy link

tobiu commented Oct 11, 2023

https://github.com/SBoudrias/Inquirer.js/blob/master/packages/inquirer/package.json#L62

=> more precisely "@ljharb/through": "^2.3.9",

do you actually need it?

tobiasuhlig@iMac-Pro Desktop % npx neo-app@latest
node:internal/modules/cjs/loader:1048
const err = new Error(message);
^

Error: Cannot find module 'call-bind'
Require stack:

  • /Users/tobiasuhlig/.npm/_npx/49626c151eb2397b/node_modules/@ljharb/through/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object. (/Users/tobiasuhlig/.npm/_npx/49626c151eb2397b/node_modules/@ljharb/through/index.js:4:16)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at cjsLoader (node:internal/modules/esm/translators:284:17) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Users/tobiasuhlig/.npm/_npx/49626c151eb2397b/node_modules/@ljharb/through/index.js'
    ]
    }

Node.js v20.8.0

@tobiu tobiu changed the title the inquirer package breaks while installing on mac os sonoma the inquirer package breaks while installing on mac os sonoma (npx scope) Oct 11, 2023
@rmalkevy
Copy link

Also had this problem, but on Ventura. Solved by npm i call-bind

@LudovicSterlin
Copy link

Issue is coming from @ljharb/through
I already open an RM to try and fix it ljharb/through#2

Also opened #1318 here to set the last version before the dependency bug in Inquirer

@SBoudrias
Copy link
Owner

Thanks for the report, the issue has been fixed upstream. I'll close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants