Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Windows 7, possibly Windows 8
Description
This came up when using ripple as a dependency to cordova.
For more information see: https://issues.apache.org/jira/browse/CB-4058
The important output bits are:
> ripple-emulator@0.9.17 preinstall C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\cordova\node_modules\ripple-emulator
> node thirdparty/ludicrous.js
npm ERR! Error: spawn ENOENT
npm ERR! at errnoException (child_process.js:980:11)
npm ERR! at Process.ChildProcess._handle.onexit (child_process.js:771:34)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
So it looks like the preinstall script is f'ed.
For the record, NPM documentation suggests that preinstall scripts are an antipattern. Perhaps it would be worth investigating if that could be removed.