cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <>
Subject [jira] [Created] (CB-5331) Resolve plugin.spec issues
Date Sat, 09 Nov 2013 00:49:17 GMT
Jesse MacFadyen created CB-5331:

             Summary: Resolve plugin.spec issues
                 Key: CB-5331
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
         Environment: windows8 Enterprise

            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 :

4) plugin command success should run inside a Cordova-based project by calling util.isCordova
      Error: Cannot find module 'npm-registry-client' 
     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)

This message was sent by Atlassian JIRA

View raw message