Skip to content
New issue

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

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

Already on GitHub? Sign in 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 [email protected]: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>
npm WARN deprecated [email protected]: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client
npm WARN deprecated [email protected]: 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 [email protected]: this package is deprecated please use https://github.com/xmppjs/xmpp.js
npm WARN deprecated [email protected]: 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

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

No branches or pull requests

1 participant