Closed GERRYGOMEZ closed 1 year ago
I have a problem with my connection to AWS, when i run the start script, get this.
pi@raspberrypi:~/Downloads $ ./start.sh
Running pub/sub sample application... internal/modules/cjs/loader.js:883 throw err; ^
Error: Cannot find module '/home/pi/Downloads/node_modules/aws-iot-device-sdk/examples/device-example.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
I have a problem with my connection to AWS, when i run the start script, get this.
pi@raspberrypi:~/Downloads $ ./start.sh
Running pub/sub sample application... internal/modules/cjs/loader.js:883 throw err; ^
Error: Cannot find module '/home/pi/Downloads/node_modules/aws-iot-device-sdk/examples/device-example.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }