npm / cli

the package manager for JavaScript
https://docs.npmjs.com/cli/
Other
8.38k stars 3.11k forks source link

[EXIT HANDLER NEVER CALLED] While installing dependencies using NPM v8.19.2 on ARMv8 #5886

Closed Sc00bz77 closed 1 year ago

Sc00bz77 commented 1 year ago

Is there an existing issue for this?

This issue exists in the latest npm version

Current Behavior

Running npx create-next-app@latest creates the below Error while installing dependencies.

npm ERR! Exit handler never called!
                                                npm ERR! This is an error with npm itself. Please report this error at:                         npm ERR!     <https://github.com/npm/cli/issues>                                                npm ERR! A complete log of this run can be found in:                                            npm ERR!     /home/kali/.npm/_logs/2022-11-22T16_44_39_402Z-debug-0.log
                                                Aborting installation.                            npm install --save-exact --save react react-dom next typescript @types/react @types/node @types/react-dom eslint eslint-config-next has failed.

The result in the directory is:

Expected Behavior

Expected to initialise NextJs App project tree with project directories etc.

Steps To Reproduce

  1. In this environment... Kirin 980, Arm64 Linux Kali
  2. With this config... Vanilla, npm v8.19.2 using nextjs13 (latest)
  3. Run 'npx create-next-app@latest'
  4. See error... "Exit Handler never called"

Environment

fritzy commented 1 year ago

npm isn't currently supported in resource constrained environments due to unbounded parallelization. We're looking to improve this soon.

Sc00bz77 commented 1 year ago

Screenshot_20221123_214447_com duckduckgo mobile android Thanks for the quick response. I was able to install Yarn using a script I found bouncing around githubLink then after installing n with yarn using chmod +x install-node-yarn-arm.sh sudo ./install-node-yarn-arm.sh Then yarn add n yarn n install latest

I could successfully create next app using

yarn create next-app

Thanks 👍