C:\Users\Manoj\Desktop\accounts>npm install intro.js --save
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git#github.com/swimlane/dragula.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
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! C:\Users\Manoj\AppData\Roaming\npm-cache\_logs\2020-03-26T07_47_10_601Z-debug.log
C:\Users\Manoj\Desktop\accounts>
I'm trying to install intro.js in my angular project but when I give npm install intro.js --save command I'm getting the above error. I'm new to this npm installation.Thanks for helping on this.
It seems that you don't have git.
Make sure you have git installed on your machine, because npm tries to download using git
Related
Error while installing wagmi , did everything clearing cache,restart and package-json
The error:
** npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
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! C:\Users\91931\AppData\Local\npm-cache_logs\2023-01-28T12_37_46_043Z-debug-0.log **
tried everything from cache clear to deleting package json
I have been installing packages and everything worked perfect. For some reason when I try to install nodemon the following error is displayed.
Error Message Screenshot
$ npm install -g nodemon
npm ERR! code ENOENT
npm ERR! syscall spawn C:\MinGW\bin\windres.exe
npm ERR! path C:\Users\zaidd\AppData\Roaming\npm\node_modules\nodemon
npm ERR! errno -4058
npm ERR! enoent spawn C:\MinGW\bin\windres.exe ENOENT
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! C:\Users\zaidd\AppData\Local\npm-cache\_logs\2022-09-12T18_25_22_846Z-debug-0.log
I have a problem installing that truffle section to later export my contracts to the tesnet.
Somebody could help me?
C:\WINDOWS\system32>npm i #truffle/hdwallet-provider
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
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! C:\Users\..\AppData\Local\npm-cache\_logs\2021-12-08T23_22_56_392Z-debug-0.log
it worked for me:
npm i #truffle/hdwallet-provider#next
I'm trying to run npm install on a project but I keep getting this error
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /home/mvargas/work-repos/red-keep/node_modules/#pm2/io/node_modules/semver/bin/semver
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/mvargas/work-repos/red-keep/node_modules/#pm2/io/node_modules/semver/bin/semver'
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! /home/mvargas/.npm/_logs/2021-04-15T01_14_50_914Z-debug.log
I'm using WSL2 with Ubuntu 20.04lts, node version is 15.14.0 and npm version is 7.7.6
Solution: Downgraded to node 10
I'm trying to install a new module:
npm install --save react-trello
But getting this error:
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git#github.com/tj/react-click-outside.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I found that react-click-outside is a module dependecy on this package.json, but I can do nothing to change, etc.
"dependencies": { ... "react-click-outside": "tj/react-click-outside", ... }
This module exists and I can install separately if I try
npm install react-click-outside
but It does have no effect when installing the original package.
The original lib site https://github.com/rcdexta/react-trello
What can I do?
As #Molda says in comment, the problem is GIT was not installed.