naviapps / create-nw-react-app

Create NW.js React apps with no build configuration.
MIT License
141 stars 14 forks source link

Unable to install due to missing file... #28

Closed kodikonas closed 5 years ago

kodikonas commented 5 years ago

This module worked perfectly until recently when I tried to re-install I keep getting the following error: npm ERR! syscall spawn gitnpm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/adam-lynch/node-temp.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\Win10\AppData\Roaming\npm-cache_logs\2019-07-17T22_52_29_524Z-debug.log

The repository: github.com/adam-lynch/node-temp is online so I cannot understand why it cannot be found during installation.

Any suggestions on how I can go about this?

kodikonas commented 5 years ago

Never mind. Got it sorted. If anyone else is using windows and having this error you might wanna install git for windows: https://gitforwindows.org/ and then run the command again (make sure you have restarted your editor first)