brodybits edited a comment on issue #838: Docs should not encourage global npm 
installation
URL: https://github.com/apache/cordova-docs/issues/838#issuecomment-400385862
 
 
   > Currently the docs say to run `sudo npm install -g` cordova which is not 
great
   
   +1 (+100 if you change "not great" to "bad")
   
   > use `npx cordova` instead
   
   - ~~does not work for `create`~~ _I stand corrected by @dpogue on this point_
   - I could image a developer wanting to use own installation of Cordova CLI, 
regardless of what is used by the project
   
   I ~~would favor an~~ _can think of a possible_ approach inspired by React 
Native:
   - Simplistic create Cordova app tool
   - The generated Cordova app could have npm scripts for some the most 
important tasks from Cordova CLI
   
   I guess the user could have a choice whether to use "npx cordova" or own 
installation of Cordova CLI for other tasks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to