Does anyone have any experience automating the install of Node.js plugins?
We are trying to install Node.js plug-ins via a casper self-service policy. The policy just executes the command "/usr/local/bin/npm install -g cordova," I have also tried this as a script as well. If we install via the command line or casper remote there are no issues.
This is the error produced by the policy:
Executing Policy Node.js Cordova Plug-In... [STEP 1 of 1] Running command /usr/local/bin/npm install -g cordova... Result of command: env: node: No such file or directory
This error makes no sense because node is install at /usr/local/bin/
Any help would be greatly appreciated!