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

iobroker.amazon-dash@0.2.8~preinstall: cannot run in wd %s %s (wd=%s) #34

Closed
PolarQualle opened this issue Mar 24, 2018 · 11 comments
Closed

Comments

@PolarQualle
Copy link

When I try to install the Amazon Dash-Button Adapter in IOBroker, I receive the following error while Installation:

`pi@raspberrypi-iobroker:~ $ sudo npm i iobroker.amazon-dash
npm WARN lifecycle iobroker.amazon-dash@0.2.8~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.8 apt-get install libpcap-dev -y || true /home/pi/node_modules/.staging/iobroker.amazon-dash-c68c26a5
/home/pi
└── iobroker.amazon-dash@0.2.8

npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.`

libpcap is installed.

@PArns
Copy link
Owner

PArns commented Mar 24, 2018

Unfotunately, I can't see any errors within this log!

Please be aware, that you'll need libpcap-dev
-> apt-get install libpcap-dev
Please install the adapter through the Admin and it should run smoothly

@PolarQualle
Copy link
Author

I installed it through the Admin plugin, bun unfortunately it doesn't start.

@PArns
Copy link
Owner

PArns commented Mar 24, 2018

Then please post the log file

@PolarQualle
Copy link
Author

bildschirmfoto 2018-03-24 um 16 06 57
bildschirmfoto 2018-03-24 um 16 07 05
bildschirmfoto 2018-03-24 um 16 09 54

@PArns
Copy link
Owner

PArns commented Mar 24, 2018

As I said, please run
apt-get install libpcap-dev
and reinstall the adapter (remove and install)

Or run from ./node_modules/iobroker.amazon-dash (after installing libpcap-dev)
node-gyp rebuild

@PolarQualle
Copy link
Author

I already installed this, but I will try option 2.

@PolarQualle
Copy link
Author

The node-gyp recompile is not available for me.
bildschirmfoto 2018-03-24 um 16 26 55

When I reinstall the adapter it looks fine for me, right?
bildschirmfoto 2018-03-24 um 16 25 45

@PArns
Copy link
Owner

PArns commented Mar 24, 2018

Please use
rebuild

Und da ich gerade eine deutsche GUI sehe ;)
Die Neuinstallation sollte libpcap-dev ebenfalls neu kompilieren, wenn jetzt keine Fehler mehr im log stehen ....

Ansonsten, wie gesagt, mal mit
node-gyp rebuild
ausprobieren und schauen, was du dann für eine Fehlermeldung bekommst

@PolarQualle
Copy link
Author

bildschirmfoto 2018-03-24 um 16 46 16

@foxriver76
Copy link
Contributor

Node Version 9.8.0 ist keine LTS. Du solltest eine gerade Versionsnummer wählen (z. B. 8)
Ansonsten probier es mal mit sudo node-gyp rebuild

@PArns
Copy link
Owner

PArns commented Dec 17, 2018

Closed due to outdated issue. Please update Node!
If this error still persists, please reopen the issue

@PArns PArns closed this as completed Dec 17, 2018
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

3 participants