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 15:31:00 GMT

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

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

Yeah, you seem to be messing up some things in your rant here. The default install location
of npm on Windows in in Roaming. That's why nvm-windows explicitly tells you to delete that
so it can move all future installs to your chosen nvm install path. The rest I didn't really
understand.

> nvm_cordova_create.png

If you just installed that node version, you shouldn't even be able to run `cordova create`
on the command line without installing it with `-g`, correct?


----

I tried to reproduce locally, couldn't even with @ in folder name:

{code}
PS C:\> cd foo
PS C:\foo> cordova create bar
Creating a new cordova project.
PS C:\foo> cd ..
PS C:\> cd .\@foo\
PS C:\@foo> cordova create bar
Creating a new cordova project.
PS C:\@foo>
{code}

Can you just try if `cordova create` works in a normal folder, with a normal global Cordova
install?

> 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_cordova_create.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