Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failure when installing #107

Open
ghost opened this issue Jun 19, 2019 · 1 comment
Open

Failure when installing #107

ghost opened this issue Jun 19, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 19, 2019

So I have NPM, I run the script/bootstrap script which appeared to work fine.

But then I had this show up in my terminal (This is on a rPi)

pi@domoticz:~/harmony-api $ sudo script/bootstrap
npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>
npm WARN deprecated node-xmpp-client@3.0.0: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client
npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated node-xmpp-core@4.2.0: this package is deprecated please use https://github.com/xmppjs/xmpp.js
npm WARN deprecated node-xmpp-jid@2.3.0: use @xmpp/jid package <https://www.npmjs.com/package/@xmpp/jid>
npm ERR! code 128
npm ERR! Command failed: git clone --depth=1 -q -b cdata-for-ltx-parser https://github.com/swissmanu/ltx.git /root/.npm/_cacache/tmp/git-clone-9a330a76
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-9a330a76': Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-06-19T18_51_17_875Z-debug.log
pi@domoticz:~/harmony-api $ 
@skarotech
Copy link

not sure if this works on a raspberry pi, but I had the same issue on a debian 10 install.

run the following command before script/bootstrap

sudo - s

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant