cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Skog (JIRA)" <>
Subject [jira] [Created] (CB-7430) weinre does not play nice with npm dedupe
Date Fri, 29 Aug 2014 12:22:53 GMT
Magnus Skog created CB-7430:

             Summary: weinre does not play nice with npm dedupe
                 Key: CB-7430
             Project: Apache Cordova
          Issue Type: Bug
          Components: weinre
    Affects Versions: 2.0.0
         Environment: Ubuntu, node.js 0.10.31
            Reporter: Magnus Skog
            Assignee: Patrick Mueller
            Priority: Minor

Weinre breaks if you dedupe your node dependencies. This happens because weinre assumes that
coffee-script is located in the local node_modules folder, which might not be the case after
npm dedupe.

Error: Cannot find module '/Users/erikn/Code/eagle-ng/node_modules/grunt-weinre/node_modules/weinre/node_modules/coffee-script'
    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 Object.<anonymous> (/Users/erikn/Code/eagle-ng/node_modules/grunt-weinre/node_modules/weinre/weinre:34:1)
    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 Function.Module.runMain (module.js:497:10)

This message was sent by Atlassian JIRA

View raw message