raspi-io: Error: Cannot find module '../build/Release/addon'
So I saw another issue with this same problem, but it didn’t seem like it was resolved. I just replaced Raspbian with Arch ARM, and although everything else seems to be working great, I get this error when I try to run the script that instantiates the board:
module.js:341
throw err;
^
Error: Cannot find module '../build/Release/addon'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/home/pi/workspace/robo-interface/node_modules/raspi/lib/index.js:30:29)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
Do you have any clue as to what might be going wrong here? Unfortunately Raspbian was giving me massive problems with streaming video, so I was really hoping there could be a solution to this error.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 23 (11 by maintainers)
Woo 🎉 Best of luck with your presentation!
In NPM < 3 yes, but >=3 no. Maybe
rm -rf node_modules
and start from scratch?