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.
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 am trying to install opensea-js, at the moment I have installed web3 js. I keep on getting this error (refer below).
I have looked online, and someone wrote that git was the problem, I installed git but it is still not working.
My error when installing
C:\Users\fisher\Desktop\Project\test\new js>npm install --save opensea-js
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\fisher\AppData\Local\npm-cache\_logs\2022-04-16T13_54_37_285Z-debug-0.log
NPM VERSION - 6.13.4
NODE VERSION - v12.16.1
I am trying to install npm i react-native-router-flux --save
and getting error
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path G:\reactnative\Testing\node_modules\babel-plugin-react-transform
npm ERR! dest G:\reactnative\Testing\node_modules\.babel-plugin-react-transform.DELETE
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, rename 'G:\reactnative\Testing\node_modules\babel-
plugin-react-transform' -> 'G:\reactnative\Testing\node_modules\.babel-plugin-react-transform.DELETE'
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\Bhaman\AppData\Roaming\npm-cache\_logs\2020-03-29T08_40_57_081Z-debug.log
How can i solve this error any idea suggest me
i am checking this ANSWER link but getting no solutions
Thanks
ERROR SOLVED
using this command
react-native start --reset-cache --verbose
DOCUMENT LINK
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