It's been 30 minutes but still not uploaded. How do i fix the problem MY PROBLEM
Asked
Active
Viewed 6,173 times
4 Answers
1
You can do following steps which possibly will fix this.
- Press
Ctrl + 'C'
to stop the process. - Delete the
npm_modules
folder andpackage-lock.json
file and runnpm cache clean --force
. - Reinstall the modules with
npm install
.

suyashpatil
- 236
- 3
- 11
-
2`node:internal/modules/cjs/loader:933 const err = new Error(message); ^ Error: Cannot find module 'semver'` Not working :( – Sinan Tosun Jul 24 '22 at 18:20
-
1You can try [this](https://stackoverflow.com/a/41000891/13876368). – suyashpatil Jul 24 '22 at 18:23
1
you can reinstall nodejs or use npm update to fix this if it doesn't work then check the documentation of the library

Veer-Khatri
- 35
- 6
-
1
-
1have you tried to reinstall your nodejs @SinanTosun and ```npm audit fix --force``` – Veer-Khatri Jul 24 '22 at 18:16
-
2
-
@SinanTosun try to install another package if it installs completely then something is wrong with the package if it also stops then visit this link https://stackoverflow.com/questions/16873973/npm-install-hangs – Veer-Khatri Jul 25 '22 at 06:31
0
try to remove the node_modules directory and the package-lock.json file and reinstall by npm i
this might help

shadi1999
- 49
- 7
-
`node:internal/modules/cjs/loader:933 const err = new Error(message); ^ Error: Cannot find module 'semver'` Not working :( – Sinan Tosun Jul 24 '22 at 18:14
-
1@SinanTosun as the other commentators said and after searching for the new error. you have to reinstall your nodejs on your machine check out the answer here: https://stackoverflow.com/questions/33870520/npm-install-cannot-find-module-semver – shadi1999 Jul 24 '22 at 18:22
0
after launching the npm install command, npm will read the package.json file, precisely in the "scripts" section. it will automatically launch the "install" script if there is one. now if in the configuration you have something like "install": "npm install ". npm will therefore relaunch the installation command and so on in repetition.
"scripts": {
"build": "npm build --environment=production",
"start": "npm start",
*"install": "npm install"*
"test": "npm-run-all lint test:*",
},

Mukendi Emmanuel
- 121
- 1
- 7