Comments (2)
same thing here.
still trying to find a solution
from dasher.
Here too:
`sudo npm run start
[email protected] start /home/pi/dasher
node app.js
warning: SIOCGIFADDR: en0: No such device - this may not actually work
[Error: SIOCGIFHWADDR: No such device]
Failed to create pcap session: couldn't find devices to listen on.
Try running with elevated privileges via 'sudo'
/home/pi/dasher/node_modules/node-dash-button/index.js:28
throw new Error('Error: No devices to listen');
^
Error: Error: No devices to listen
at create_session (/home/pi/dasher/node_modules/node-dash-button/index.js:28:15)
at register (/home/pi/dasher/node_modules/node-dash-button/index.js:47:24)
at new DasherButton (/home/pi/dasher/lib/dasher.js:14:21)
at Object. (/home/pi/dasher/app.js:8:16)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:134:18)
npm ERR! Linux 4.9.59-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node app.js'.
npm ERR! This is most likely a problem with the dasher package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node app.js
npm ERR! You can get their info via:
npm ERR! npm owner ls dasher
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/dasher/npm-debug.log
`
0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info prestart [email protected] 6 info start [email protected] 7 verbose unsafe-perm in lifecycle true 8 info [email protected] Failed to exec start script 9 verbose stack Error: [email protected] start:
node app.js9 verbose stack Exit status 1 9 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16) 9 verbose stack at emitTwo (events.js:87:13) 9 verbose stack at EventEmitter.emit (events.js:172:7) 9 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14) 9 verbose stack at emitTwo (events.js:87:13) 9 verbose stack at ChildProcess.emit (events.js:172:7) 9 verbose stack at maybeClose (internal/child_process.js:818:16) 9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 10 verbose pkgid [email protected] 11 verbose cwd /home/pi/dasher 12 error Linux 4.9.59-v7+ 13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start" 14 error node v4.2.1 15 error npm v2.14.7 16 error code ELIFECYCLE 17 error [email protected] start:
node app.js`
17 error Exit status 1
18 error Failed at the [email protected] start script 'node app.js'.
18 error This is most likely a problem with the dasher package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node app.js
18 error You can get their info via:
18 error npm owner ls dasher
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
pi@hassbian:~/dasher $ npm owner ls dasher
npm [email protected]
`
pi@hassbian:~/dasher/dasher $ nodejs -v
v4.8.2
is the project suspended?
from dasher.
Related Issues (20)
- Using Dasher with a wifi repeater? HOT 1
- Can I include a 'conditional' statement in the config.json? HOT 1
- WiFi does not work HOT 3
- script/find_button
- Error: Socket hang up HOT 1
- Dasher Crash on Execute Command HOT 1
- Unexpected token } in JSON HOT 2
- Integration failing between Dasher and Homeassistant
- Unable to install on Raspberry Pi HOT 3
- Error when triggering a "command" containing double-quotes
- ECONNRESET Error....? HOT 1
- https and HA?
- URL error HOT 3
- NPM start issues HOT 6
- Buttonpress not registered
- Problem running command with second button HOT 1
- Finder doesn't find any buttons HOT 3
- Autostart Daemon Ubuntu HOT 2
- Inter-VLAN support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dasher.