npm i or sudo npm i?
LoisRP opened this issue · comments
I followed the instructions in node/README.md in the node-deps branch.
# Install dependencies
npm i
However, I got errors unless I changed this to
sudo npm i
Once I did that, I was able to successfully run the demo at src/index.js. Just checking if this is an idiosyncrasy of my system, or something that should be changed in the doc.
There's no global dependencies so you shouldn't need to use sudo
ever.
https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92
Can you provide more details about your system.
The errors you received are potentially helpful.
You shouldn't need sudo
on OSX. Sometimes node permissions are wonky on linux boxes, but even then we're not installing anything globally so it shouldn't matter.