Closed RUGMJ closed 2 years ago
Hey RUGMJ7443, how's it going. If you are on windows, this might help: Use powershell Install nvs via chocolatey from project open terminal - powershell. nsv add 10 (this will add node.js 10 to nvs node manager, so you may run your project). Then run npm rebuild, install dependencies and SDK. Works for me. Mind you need to switch nvs to node 10 each time you run project: powershell: nvs menu (chose node version) or nvs use 10
I was on linux at the time, didnt realise newer versions of node weren't supported, thanks for your help
Hey, happy this was helpful. Cheers.
On Sun, 23 Jan 2022, 16:11 RUGMJ7443, @.***> wrote:
Closed #24 https://github.com/KanoComputing/community-sdk/issues/24.
— Reply to this email directly, view it on GitHub https://github.com/KanoComputing/community-sdk/issues/24#event-5938265264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIMSKQ7BZOCUTZOACLVHZUDUXQEA5ANCNFSM4QB3APLQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
the error
make: Leaving directory '/home/pi/pixlekit/community-sdk-0.1.0-nodejs/node_modules/serialport/build' gyp ERR! build error gyp ERR! stack Error:
makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 4.19.118-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/pixlekit/community-sdk-0.1.0-nodejs/node_modules/serialport gyp ERR! node -v v14.8.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.