Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on npm

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

yarn global add @vue/cli @vue/cli-service-global npm install -g @vue/cli @vue/cli-service-global

npm run tauri:serve

sudo

  1. Avoid using sudo with npm.

https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md

https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92

https://stackoverflow.com/questions/16151018/npm-throws-error-without-sudo

https://docs.npmjs.com/cli/install

https://stackoverflow.com/questions/10081293/install-npm-into-home-directory-with-distribution-nodejs-package-ubuntu

Referencess

https://github.com/npm/cli

npm Feedback & Discussions

npm Packages Website

Comments