-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on yo webapp Cannot find module 'C:\Program Files\Git\node_modules\yo\lib\cli.js' #530
Comments
Try upgrading to |
I have the same exact error message:
I've uninstalled and reinstalled Node (4.4.7) and npm (3.10.5) from scratch and still get the I've triple checked my PATH variable and it looks fine. Just checked on a hunch and I'm able to run yo fine in windows cmd.exe prompt, but Git Bash is reporting that error. Makes me think that Git Bash is not able to use the PATH properly. I started getting this error right after upgrading node and npm a few minor poitn versions. I tried an uninstall and reinstall to no avail. Still working on a fix. Thoughts anyone? |
I think I managed to solve this problem by using symlink, Run command below in your cmd at administrator mode
|
I'm having the same issue, I'm using powershell and command line for the user who wants this. |
I was experiencing the same problem. When I updated node using Windows Installer, the installer created a second repository of Node Modules on ProgramFiles, when the original was at %USERPROFILE%\AppData\Roaming\npm\ But the Window PATH was still having the OLD one %USERPROFILE%\AppData\Roaming\npm |
@jctt1983: Thank you, this fixed my issue. |
@kb-git did any of the provided solutions fix your problem? |
Closing due to inactivity. Will reopen if new info is provided. 😉 |
I have the same error trying a derived generator. Already upgraded Here is my error:
|
@rbosneag I believe you're using generator-cg-angular15, not generator-webapp. Correct me if I'm wrong. |
Hello I have this error while i trying first time generate webapp :
System Win 7 Home Premium x64
I have installed node 6.2.0 and dependencies and generator from getting started.
Edit
Here is log from installing yo it seems like its evryhing allright.
The text was updated successfully, but these errors were encountered: