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

Jan Piotrowski (Sujan) edited comment on CB-13536 at 11/14/17 2:47 PM:
-----------------------------------------------------------------------

Thanks, and sorry for the runaround. Now I have something we can start 
debugging.

Run these commands please and post their output:
{code}
node -v
cordova -v
npm list -g --depth=0
{code}

Did you install NodeJS directly or via nvm-windows or a similar tool?

Could you also run the `cordova create ...` command in another, new and empty 
folder. Same error message?

What language is you Windows?

May first advice would be: Uninstall and reinstall Cordova via `npm uninstall 
cordova` and then `npm install -g cordova`. Maybe there is just something wrong 
with your installation.
If that doesn't help, try reinstalling nodejs via nvm-windows. That is only 
indirectly connected, but in my experience it fixes similar problems in 90% of 
the cases.


was (Author: sujan12):
Thanks, and sorry for the runaround. Now I have something we can start 
debugging.

Run these commands please and post their output:
{code}
node -v
cordova -v
npm list -g --depth=0
{code}

Did you install NodeJS directly or via nvm-windows or a similar tool?

Could you also run the `cordova create ...` command in another, new and empty 
folder.

What language is you Windows?

May first advice would be: Uninstall and reinstall Cordova via `npm uninstall 
cordova` and then `npm install -g cordova`. Maybe there is just something wrong 
with your installation.
If that doesn't help, try reinstalling nodejs via nvm-windows. That is only 
indirectly connected, but in my experience it fixes similar problems in 90% of 
the cases.

> cordova being called from "quasar wrap" not working - cordova-realted error: 
> Could not install from (path_of_nodejs_modules) as it does not contain a 
> package.json file
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-13536
>                 URL: https://issues.apache.org/jira/browse/CB-13536
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-app-hello-world, cordova-cli
>            Reporter: Lukas Plachy
>         Attachments: 2017-11-03T12_42_43_016Z-debug_anonymized.log, 
> 2017-11-14T14_08_29_042Z-debug.log, cordova_create_cordova.png, 
> cordova_wrap_fail.png
>
>
> Hi, anybody an idea, whats wrong here (see attached image), before I'll have 
> to make a deepdive into the sources? Such error does not help when doing 
> first hands-on!
> Note: has been reported to and rejected by quasar as not quasar-related.
> Thanks
> [^cordova_wrap_fail.png]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to