[
https://issues.apache.org/jira/browse/CB-13536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253583#comment-16253583
]
Lukas Plachy commented on CB-13536:
-----------------------------------
> nvm prerequisites: because this is only a blind branch of this dialogue
> (since its content is not directly related to this cordova issue), adding
> just a few of my opinions on the end of this post.
> the VBScript error reporting: no, and honsetly at this point I have not more
> resources to do so (including the opinions on how the nvm behaves I'm
> mentioning above), maybe after we solve this entire issue. Btw the error is
> stating, that there is no scripting engine for a ".vbs", which might be also
> some setting on my PC, however Im running VBScripts here with wscript, so it
> will rather be some odd way how to call it
> testing the same with nodejs v 8.9.1. ... the error of cordova is the same,
> see record [^nvm_cordova_create.png]
>>>>>>>> (BRACKET: A few opinion on the nvm at first glance) <<<<<<<<<<<<
- trying to install itself into "Roaming" by default - WRONG!!!! That is not a
place for installing software or for any large files. The Roaming MUST BE
ALLWAYS kept under 100MB (and that is allready an extreme) otherwise it
completly destroys the usability of a Windows domain (if present, fortunately
not on my PC, but that does not matter).
(BTW the 'npm -g' uses the very same antipattern, completly ignoring the root
directory where the nodejs+npm is installed and installing the package whose
install was started with the '-g' param blindly into the "Roaming"!)
- Noting and using its own base/home/root path into some register? system
cmdline variable? or anywhere else? (seems to be %NVM_HOME%) while still having
the "root" setting in "settings.txt". WRONG! If the settings.txt have the
feature to set the "base path" (the 'root:' option), than IT MUST !NOT! BE,
that the settings.txt are being searched based on some wacko setting
(commandline var, register etc.). Moreover, if such alternate setting is used,
then the settings.txt MUST in their default state use it, mening something like
"root:%NVM_HOME%" or "root: //HKLM/.../..../MyKey" instead of creating a
'non-linked information' (eg. containing the same value, but not linked to the
other container containing the very same value)!
- no information about forcing any other path to settings.txt as cmdline arg in
the 'nvm /?' help output text!!! Moreover, if the path (from %NVM_HOME% or
somewhere else) of settings.txt is not found, then even the 'nvm /?' does not
run!!! Good Lord! NEVER EVER must the '/?' (or '--help' in Linux) argument rely
on anything other that the most basic I/O of the environment of the system.
>>>>>>>> (BRACKET end) <<<<<<<<<<<<
> 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: [email protected]
For additional commands, e-mail: [email protected]