- Le plus récent
- Le plus de votes
- La plupart des commentaires
So, I'll answer my own question here, since I've figured out something that works. Now, it is sort of a hack, and may not be officially supported by AWS, and may possibly break.
I installed nodejs (I installed the latest version of 8) on my raspberry pi. And sym linked nodejs6.10.
Install nodeJS. This link may help if you aren't sure how yet.
https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/
Now, you need to create a symlink of node matching what greengrass expects: nodejs6.10
cd /user/local/bin
sudo ln -s node nodejs6.10
That should now create a symlink for 6.10 that greengrass can use, thinking its actually 6.10, when in fact its not.
Now, add to your global environment path:
sudo vi /etc/environment
You can use whatever editor you're comfortable with. Add this to the end of file:
export PATH=/user/local/bin/nodejs6.10:$PATH
Restart your system. I don't know if greengrass will break using a later version of node, but it hasn't so far. Use with caution, and you probably don't want to go to production with this unless fully tested.
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 6 mois
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans