You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Patrick Mueller (JIRA)" <ji...@apache.org> on 2014/09/04 15:17:52 UTC
[jira] [Resolved] (CB-7430) weinre does not play nice with npm
dedupe
[ https://issues.apache.org/jira/browse/CB-7430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Mueller resolved CB-7430.
---------------------------------
Resolution: Fixed
> weinre does not play nice with npm dedupe
> -----------------------------------------
>
> Key: CB-7430
> URL: https://issues.apache.org/jira/browse/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
> Labels: node.js, npm
>
> 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
(v6.3.4#6332)