You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2013/11/09 01:49:17 UTC
[jira] [Created] (CB-5331) Resolve plugin.spec issues
Jesse MacFadyen created CB-5331:
-----------------------------------
Summary: 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
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.1#6144)