Topic: NPM install error
ruwikmann premium asked 5 years ago
Trying to install MDB pro 4.19.2 just downloaded and ran npm install but getting this error of sha512 not matching. Can someone tell me what the issue could be please?
Here is a screenshot
Andy Nguyen free answered 1 year ago
I follow installation instruction but when run ionic serve got errors below....
C:\Work\projects\ionic-lib\MDB5-ANGULAR-UI-KIT-Free>ionic serve
ng.cmd run app:serve --host=localhost --port=8100 [ng] Node.js version v19.4.0 detected. [ng] Odd numbered Node.js versions will not enter LTS status and should not be used for production. For more information, please see https://nodejs.org/en/about/releases/. [ng] Error: Unknown arguments: host, port
[ERROR] ng has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error details.
Grzegorz Bujański staff commented 1 year ago
The error is not related directly to the MDB. The error indicates that you are using node v19.4.0 which is not supported by Angular. Try to install version 18.15.0 (LTS)
Reddy1537 free answered 1 year ago
when i am trying to install Angula/cli using below command npm install -g @angular/cli getting error : Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules.staging' i am not having admin permissions
rutuja@191096 free answered 2 years ago
i am facing the below problem while installing node modoule Can someone tell me what the issue could be please?
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm ERR! code E403 npm ERR! 403 Forbidden - GET http://172.160.0.1:8090/ips/block/default?cat=29&pl=1&url=aHR0cDovL2dpdGh1Yi5jb20vY29tcG9uZW50L2VtaXR0ZXIvYXJjaGl2ZS8xLjAuMS50YXIuZ3o~
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Rutuja Jagtap\AppData\Roaming\npm-cache_logs\2022-08-05T08_59_47_236Z-debug.log
Robert Wheeler free answered 2 years ago
continue to have this issue
npm i npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /Users/robwheeler/CodeProjects/CollegeRecruiter/imports/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/Users/robwheeler/CodeProjects/CollegeRecruiter/imports/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! /Users/robwheeler/.npm/_logs/2022-08-03T14_25_35_024Z-debug-0.log
after following the tips above i still receive the above error during npm
Krzysztof Wilk staff commented 2 years ago
Hi!
You can try to:
1. Delete your node_modules
catalog and package-lock.json
file
2. Run npm cache clean --force
command
3. Install dependencies once again
4. If the above steps don't work please use a yarn
instead of npm
Konrad Stępień staff answered 5 years ago
Hi @ruwikmann and @Rotaru,
Did you can try it :
- Delete
node_modules
folder andpackage-json.lock
- Then run
npm i
- If problem still exists repeat point 1 and go to 4 point
- Update npm with command
npm i -g npm
- Run command
npm cache verify
and then runnpm i
You should fix it on the second point, but if the problem still exists please tell me about it. I will try to fix it.
Best regards, Konrad.
Joao Marques free commented 1 year ago
npm ERR! code 7
npm ERR! path C:\Users\João Marques\OneDrive\Ambiente de Trabalho\lei22_23_s5_3di_50\Logistics\node_modules\argon2
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.0
npm ERR! gyp info using node@18.12.1 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.0 found at "C:\Python311\python.exe"
npm ERR! gyp info find VS using VS2017 (15.9.33027.88) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Python311\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\node_modules\node-gyp\gyp\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\João Marques\OneDrive\Ambiente de Trabalho\lei22_23_s5_3di_50\Logistics\node_modules\argon2\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\João Marques\AppData\Local\node-gyp\Cache\18.12.1\include\node\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\João Marques\AppData\Local\node-gyp\Cache\18.12.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\João Marques\\AppData\\Local\\node-gyp\\Cache\\18.12.1\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\Users\João Marques\OneDrive\Ambiente de Trabalho\lei22_23_s5_3di_50\Logistics\node_modules\argon2',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\Users\João Marques\OneDrive\Ambiente de Trabalho\lei22_23_s5_3di_50\Logistics\node_modules\argon2\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build/binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! UNCAUGHT EXCEPTION
npm ERR! gyp ERR! stack Error: spawn C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe ENOENT
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:283:19)
npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:476:16)
npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm ERR! gyp ERR! System Windows_NT 10.0.19045
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\João Marques\OneDrive\Ambiente de Trabalho\lei22_23_s5_3di_50\Logistics\node_modules\argon2
npm ERR! gyp ERR! node -v v18.12.1
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! Node-gyp failed to build your package.
npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\João Marques\AppData\Local\npm-cache_logs\2022-11-30T17_28_35_126Z-debug-0.log
I've already tried every step with no success
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 4.2.0
- Device: MacBook Pro
- Browser: Chrome
- OS: MacOS
- Provided sample code: No
- Provided link: Yes
Rotaru free commented 5 years ago
I have the same exact issue
Grzegorz Bujański staff commented 1 year ago
Have you tried one of the tips below?