You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Matt Steele (JIRA)" <ji...@apache.org> on 2015/09/28 22:54:04 UTC

[jira] [Commented] (CB-9712) CLI 5.3 breaks with node 3.3.3

    [ https://issues.apache.org/jira/browse/CB-9712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933963#comment-14933963 ] 

Matt Steele commented on CB-9712:
---------------------------------

I'm seeing this as well (node 0.10.26, npm 3.3.3). The issue is npm3's flat directory structure - you could also see this if you ran {{npm dedupe}} with npm2.

The offending line (which assumes a nested {{node_modules}} is here: https://github.com/apache/cordova-lib/blob/c3485e21412bbc73711cc6bd32a93a7ee2a1fe1f/cordova-lib/src/cordova/create.js#L116

> CLI 5.3 breaks with node 3.3.3
> ------------------------------
>
>                 Key: CB-9712
>                 URL: https://issues.apache.org/jira/browse/CB-9712
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 5.3.2
>         Environment: OSX, node 0.12.7, node 4.1, npm 3.3.3
>            Reporter: Mike Hartington
>
> The CLI release with node 4x breaks with npm 3.
> This is due to the way npm3 flattens dependencies.
> {code}
> Creating a new cordova project.
> Could not find directory: /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-app-hello-world
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org