Although I follow the tips:
- 'node' is not recognized as an internal or external command, operating program or batch file when using phonegap / cordova
- Node.js does not recognize the system path?
- 'ant is not recognized as an internal or external command ...
I had a strange problem: Resume, although the node path is a list in Path, it does not find the node.
Workflow:
Microsoft Windows [Version 6.3.9600] //Running CMD on windows 8.1 (c) 2013 Microsoft Corporation. All rights reserved.
I followed suggestions in SO by adding a variable to environment variables and displaying Ok in the path:
C:\Users\myUser>path PATH=c:\Program Files (x86)\nodejs ; (...omitted...) //So folder is there
The next line will fail
C:\Users\myUser>call jasmine-node spec 'node' is not recognized as an internal or external command, operable program or batch file. C:\Users\myUser>cd "c:\Program Files (x86)\nodejs" //So I move to the folder list before...
But if I go to the list of folders in Path, then it will work fine.
c:\Program Files (x86)\nodejs>call jasmine-node spec > (...omitted...) //Exec OK. c:\Program Files (x86)\nodejs>node > //Exec OK. Waiting...
Seems controversial.
Mario levrero
source share