npm install error --> npm ERR! cb() never called!

I wanted to do a npm install in an Angular project that I pulled up from repository…

I do that npm install to set up the project, I have to do it every time I pulled up an Angular project, but this time I got an error of npm

So I got this error:

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\junior\AppData\Roaming\npm-cache\_logs\2019-09-09T22_21_38_172Z-debug.log
PS C:\Users\junior\Documents\GitHub\Simulador-de-Voto\simulador-voto> npm update
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/pemrouz/buble.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\junior\AppData\Roaming\npm-cache\_logs\2019-09-09T22_26_16_701Z-debug.log

Details

npm --versions npm: '6.9.0' node -p process.platform
win32

You need a command-line git client available to install packages which come direct from git repositories (rather than published on the npm repository).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.