[
https://issues.apache.org/jira/browse/CB-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve resolved CB-5331.
-------------------------------
Resolution: Fixed
Assuming this is fixed. Please re-open if it's not.
> Resolve plugin.spec issues
> --------------------------
>
> Key: CB-5331
> URL: https://issues.apache.org/jira/browse/CB-5331
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Environment: windows8 Enterprise
> node:v0.10.10
> npm:1.2.25
> Reporter: Jesse MacFadyen
> Assignee: Mark Koudritsky
>
> It is unclear if this is a failure of the environment, or if the tests are
> incorrect but when run on windows, all assertions in plugin.spec.js produce
> output like the following :
> {code}
> 4) plugin command success should run inside a Cordova-based project by
> calling util.isCordova
> Message:
> Error: Cannot find module 'npm-registry-client'
> Stacktrace:
> Error: Cannot find module 'npm-registry-client'
> at Function.Module._resolveFilename (module.js:338:15)
> at Function.Module._load (module.js:280:25)
> at Module.require (module.js:364:17)
> at require (module.js:380:17)
> at
> c:\Repos\cordova\cordova-cli\node_modules\plugman\node_modules\npm\lib\npm.js:32:17
> at Object.<anonymous>
> (c:\Repos\cordova\cordova-cli\node_modules\plugman\node_modules\npm\lib\npm.js:518:3)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
> at Module.require (module.js:364:17)
> at require (module.js:380:17)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)