You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/11/11 10:20:19 UTC

[GitHub] [cloudstack-primate] onitake opened a new issue #12: Add instructions on how to avoid system-wide global npm package installation

onitake opened a new issue #12: Add instructions on how to avoid system-wide global npm package installation
URL: https://github.com/apache/cloudstack-primate/issues/12
 
 
   Commands like
   ```bash
   sudo npm install -g @vue/cli webpack eslint
   ```
   will install global dependencies system-wide, which will cause conflicts with files installed by a package manager (rpm, dpkg, ...).
   
   There should be instructions in the README on how to avoid overriding system files.
   
   For example, it's possible to set up a separate runtime directory for node/npm modules and simply run npm from there. This will pick up the local modules instead of those from the system.

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


With regards,
Apache Git Services