question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to find command: C:\Program Files\nodejs\node.exe after last update

See original GitHub issue

Strange 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:closed
  • Created 5 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

14reactions
kirill-kostenetskyicommented, Jul 26, 2018

@robisoft thanks. seems like this help me. I did:

npm uninstall -g ionic
npm install -g ionic
3reactions
robisoftcommented, Jul 26, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found