Unable to find command: C:\Program Files\nodejs\node.exe after last update
See original GitHub issueStrange things happening, I did ionic serve
command for running my ionic server, then I receive an option to update to the latest ionic version (3.20.0 => 4.0.0). After the successful update I receiving an error message each time before any ionic
command:
[ERROR] Unable to find command: C:\Program Files\nodejs\node.exe
C:\Users\Username\AppData\Roaming\npm\node_modules\ionic\bin\ionic platform add android
What’s happening? I tried to reinstall node.js, then tried to install 7.0.0, then tried to reinstall ionic to previous version but nothing helps me. Npm and node commands works well. Why it stopped works even with the previous version?
Any advice?
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Unable to find command: C:\Program Files\nodejs\node.exe
After the successful update I receiving an error message each time after any ionic command: [ERROR] Unable to find command: C:\Program ...
Read more >bcrypt error (Example) | Treehouse Community
When I am trying vto install bcrypt, I get this error. ... ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe ...
Read more >Version 1.8 of Experience Builder Developer Editio...
Same issues on my client install from client directory, even when I run the command prompt as an admin. So I guess I'll...
Read more >NPM error during install (Update to foundation-sites 6.5.0)
I wanted to pass this along to anyone that was having this problem, but when I try to install with NPM I keep...
Read more >every time i ran command line Yarn as instructed i get all ...
I Have all those error i dont know the reason of? PS C:\Users\FCRF1\Desktop\0xQQ\0x-api> yarn >> yarn install v1.22.19 warning ..\..\.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@robisoft thanks. seems like this help me. I did:
After installing CLI 4.0.1 I obtain the same error $ ionic g page gameDetail $ [ERROR] Unable to find command: /usr/local/bin/node /usr/local/bin/ionic g page gameDetail I solved it reinstalling ionic: $ sudo npm install ionic@latest -g