dpogue opened a new issue #838: Docs should not encourage global npm 
installation
URL: https://github.com/apache/cordova-docs/issues/838
 
 
   Currently the docs say to run `sudo npm install -g cordova` which is not 
great from a best practices standpoint. We should never encourage running npm 
with sudo because of permissions problems, and npm recommends not installing 
anything globally if it can be helped.
   
   We should update our documentation to use `npx cordova` instead 
([npx](https://blog.npmjs.org/post/162869356040/introducing-npx-an-npm-package-runner)
 requires npm >=5.2.0), and add cordova as a devDependency to our hello-world 
project template.

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