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

William Schroeder commented on CB-9712:
---------------------------------------

When trying to create a new cordova app getting the reported error, but the 
actual directory is there. I want to point this out as I had not seen that 
mentioned. Also, I used the fix code and still got the same error.

node: v4.0.0
npm: 3.3.9
cordova: 5.3.3
os: Win 8.1

C:\NodeProjects>cordova create MyApp
Creating a new cordova project.
Copying assets."
CordovaError: Could not find directory: 
C:\Users\wschroeder\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\cordova-app-hello-world
    at 
C:\Users\wschroeder\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\create.js:184:19
    at _fulfilled 
(C:\Users\wschroeder\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:787:54)
    at self.promiseDispatch.done 
(C:\Users\wschroeder\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:30)
    at Promise.promise.promiseDispatch 
(C:\Users\wschroeder\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:749:13)
    at 
C:\Users\wschroeder\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:509:49
    at flush 
(C:\Users\wschroeder\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
    at doNTCallback0 (node.js:407:9)
    at process._tickCallback (node.js:336:13)
    at Function.Module.runMain (module.js:477:11)
    at startup (node.js:117:18)

> 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
>            Assignee: Sergey Shakhnazarov
>
> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to