You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2017/11/16 13:41:00 UTC

[jira] [Commented] (CB-13536) cordova being called from "quasar wrap" not working - cordova-realted error when not installed in default directory: Could not install from (path_of_nodejs_modules) as it does not contain a package.json file

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

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

{quote}
if you need to install some module "globally" but into a custom directory
{quote}

This is not really how npm works. You can either install in a directory of your choice, or globally with `-g` in whatever location npm uses for that. Command line tools will (on Windows) only work if installed globally or some manual and error prone workaround.

But did I get this right that it now works for your with a global installation of Cordova?

> cordova being called from "quasar wrap" not working - cordova-realted error when not installed in default directory: 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_direct_MSI_install_std_dirs.png, cordova_create_on_empty.png, cordova_create_over_nvm_std_dirs.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