Open dylanrmurphy opened 7 years ago
For the "older" RPI is another Version of Node available. It should work with all ARMv6 RPI.
tar -xvf node-v6.9.4-linux-armv6l.tar.xz
cd node-v6.9.4-linux-armv6l
sudo cp -R * /usr/local/
To check is node is working use node -v
to see the installed version of node.
I'm having a similar issue on the older/original Pi. I updated to node v6.11.1 and npm install looked good with one warning:
(node:860) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Here is the output for find_button:
`module.js:471 throw err; ^
Error: Cannot find module '/home/pi/dasher/node_modules/node-dash-button/bin/findbutton' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:389:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:504:3 `
when I run
pi@raspberrypi:~/dasher $ script/find_button
it gives me the error below. What am I doing wrong:This could be because when I run
pi@raspberrypi:~/dasher $ npm install
it comes up with:Also how can I run this on a RPI 1 as I cannot install node.js v7?
``
Thanks