cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Piotrowski (Sujan) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13536) 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
Date Wed, 15 Nov 2017 13:52:00 GMT

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

Jan Piotrowski (Sujan) commented on CB-13536:
---------------------------------------------

> since it is unable to establish any prerequisites

What do these words mean?

> moreover it wrecks the nodejs install completly, see attached commandline record nvm_install.png

Node 9.2.0 is 1 day old. (You probably get the same result installing it directly from nodejs.org.)
Node doesn't care if npm is ready or not it seems...

Installing the recommended 8.9.1 LTS via nvm-windows (which has the same npm) works fine for
me: nvm install 8.9.1, nvm use 8.9.1, npm install cordova -g

PS: Did you report the mentioned VB Script error to nvm-windows? This shouldn't really happen.


> 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_create_on_empty.png, cordova_wrap_fail.png, nvm_install.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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message