[
https://issues.apache.org/jira/browse/CB-13588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukas Plachy updated CB-13588:
------------------------------
Description:
If the npm is run without the wrong(*) content in npmrc, then as you may see,
cordova create fails again in the very same way, even when the npm is allready
able to work as expected. correct__g_install_fail_npmrc.png
If you are not comfort with the "local install" override, or the npmrc content
deletition, then you might find the command '*npm install -g cordova --prefix
D:\mynodejsdirectory*' more compliant with correct usage. And as you may see
(correct__g_install_fail_using_prefix.png), the error which this ticket is
about, remains in place in all three soltuions I have presented you here,
despite the '-g' install. So I still have to insist on the fact, that there is
someting wrong in Cordova code.
(*) incorrect handling of npmrc file containing the string
'prefix=${APPDATA}\npm' in contrast to the expected behvaior as described in
https://docs.npmjs.com/cli/npm#directories
was:
If the npm is run without the wrong(*) content in npmrc, then as you may see,
cordova create fails again in the very same way, even when the npm is allready
able to work as expected. correct__g_install_fail_npmrc.png
If you are not comfort with the "local install" override, or the npmrc content
deletition, then you might find the command '*npm install -g cordova --prefix
D:\mynodejsdirectory*' more compliant with correct usage. And as you may see
(correct__g_install_fail_using_prefix.png), the error which this ticket is
about, remains in place in all three soltuions I have presented you here,
despite the '-g' install. So I still have to insist on the fact, that there is
someting wrong in Cordova code.
*) incorrect handling of npmrc file containing the string
'prefix=${APPDATA}\npm' in contrast to the expected behvaior as described in
https://docs.npmjs.com/cli/npm#directories
> cordova-create fail to copy template on Windows when nodejs global
> node_modules where it is installed in is in a different directory than the
> default one (AppData\Roaming)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CB-13588
> URL: https://issues.apache.org/jira/browse/CB-13588
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-create
> Reporter: Lukas Plachy
>
> If the npm is run without the wrong(*) content in npmrc, then as you may see,
> cordova create fails again in the very same way, even when the npm is
> allready able to work as expected. correct__g_install_fail_npmrc.png
> If you are not comfort with the "local install" override, or the npmrc
> content deletition, then you might find the command '*npm install -g cordova
> --prefix D:\mynodejsdirectory*' more compliant with correct usage. And as you
> may see (correct__g_install_fail_using_prefix.png), the error which this
> ticket is about, remains in place in all three soltuions I have presented you
> here, despite the '-g' install. So I still have to insist on the fact, that
> there is someting wrong in Cordova code.
> (*) incorrect handling of npmrc file containing the string
> 'prefix=${APPDATA}\npm' in contrast to the expected behvaior as described in
> https://docs.npmjs.com/cli/npm#directories
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]