Open WalterWampe opened 6 years ago
Looks like you're installing globally. When you do that, please preface the command with sudo
Thats the thing - that also wont work, and I'm not sure why.
$ sudo npm install -g mqtt-dasher [sudo] password for smartassi: npm ERR! code 1 npm ERR! Command failed: /usr/bin/git clone -q https://github.com/mranney/node_pcap.git /home/smartassi/.npm/_cacache/tmp/git-clone-458d803d npm ERR! /home/smartassi/.npm/_cacache/tmp/git-clone-458d803d/.git: Permission denied npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /home/smartassi/.npm/_logs/2018-01-25T08_57_06_767Z-debug.log
Can this have to do something with a venv I have set up?
I would do sudo -h
Sounds like it can't write to ~/.npm
Hey there, I cant wait to use your little helping script to integrate my dashbuttons - but I am unable to install it... I get the following error:
Can you help me please?