Closed monkbroc closed 5 years ago
Updates the Particle CLI wrapper to Node 8 (cannot use Node 10 yet since serialport 6.2.0 is not precompiled for Node 10)
serialport
The most important change is to run npm rebuild after installing or upgrading Node. It turns out running npm rebuild in an empty directory is a no-op so it doesn't hurt to run it on first install and after Node upgrades. https://github.com/particle-iot/particle-cli-wrapper/pull/7/files#diff-f6846c341ab11ff34eeb7463ce2816ffR20
npm rebuild
This PR also defines the steps to update Node in future versions of the CLI wrapper.
Steps to test:
builds.<os>.amd64.url
Updates the Particle CLI wrapper to Node 8 (cannot use Node 10 yet since
serialport
6.2.0 is not precompiled for Node 10)The most important change is to run
npm rebuild
after installing or upgrading Node. It turns out runningnpm rebuild
in an empty directory is a no-op so it doesn't hurt to run it on first install and after Node upgrades. https://github.com/particle-iot/particle-cli-wrapper/pull/7/files#diff-f6846c341ab11ff34eeb7463ce2816ffR20This PR also defines the steps to update Node in future versions of the CLI wrapper.
Steps to test:
builds.<os>.amd64.url
and run through the validation steps here: https://github.com/particle-iot/particle-cli-wrapper/pull/7/files#diff-04c6e90faac2675aa89e2176d2eec7d8R48