-
Notifications
You must be signed in to change notification settings - Fork 8
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
npm start failed on debian #2
Comments
Hi @cyclonmaster, I would suggest you using node.js v4.x to test. |
I remove completely all nodejs from it. And reinstall nodejs v4.0 I get this error: root@beaglebone:~/Desktop/zigbeer# npm install zigbee-shepherd --save
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v46-linux-arm.tar.gz npm ERR! serialport@4.0.7 install: npm ERR! Please include the following file with any support request: |
Ok, I remove all nodejs and npm, Then remove again all nodejs and npm Now this is the error I get: root@beaglebone:~/Desktop/zigbeer/zigbee-demo# npm start
/root/Desktop/zigbeer/zigbee-demo/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/bindings/bindings.js:83 Error: Module did not self-register. npm ERR! Linux 3.8.13-bone79 npm ERR! Please include the following file with any support request: |
I cannot run the demo on Beaglebone debian 7.9
This is the error:
root@beaglebone:~/Desktop/zigbeer/zigbee-demo# npm start
/root/Desktop/zigbeer/zigbee-demo/node_modules/cross-env/dist/index.js:70
var envVars = Object.assign({}, process.env);
^
TypeError: Object function Object() { [native code] } has no method 'assign'
at getEnvVars (/root/Desktop/zigbeer/zigbee-demo/node_modules/cross-env/dist/index.js:70:24)
at getCommandArgsAndEnvVars (/root/Desktop/zigbeer/zigbee-demo/node_modules/cross-env/dist/index.js:50:17)
at crossEnv (/root/Desktop/zigbeer/zigbee-demo/node_modules/cross-env/dist/index.js:23:31)
at Object. (/root/Desktop/zigbeer/zigbee-demo/node_modules/cross-env/dist/bin/cross-env.js:10:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
npm ERR! zigbee-demo@0.1.0 start:
cross-env NODE_ENV=production node main
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the zigbee-demo@0.1.0 start script.
npm ERR! This is most likely a problem with the zigbee-demo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production node main
npm ERR! You can get their info via:
npm ERR! npm owner ls zigbee-demo
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.8.13-bone79
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /root/Desktop/zigbeer/zigbee-demo
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/Desktop/zigbeer/zigbee-demo/npm-debug.log
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: