Closed KarateTD closed 3 years ago
What do you want , is it to update node version on your machine ?
Its an update for Lambda and the underlying technology. AWS Lambda no longer sports NodeJS 10, I have to update to NodeJS14. I can do it. I just needed to map out all the changes, so I don’t forget anything.
Tiffany Gray @.***
On the web
On Jun 4, 2021, at 12:54 PM, sankalp jha @.***> wrote:
What do you want , is it to update node version on your machine ?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/KarateTD/thebestdarngirls/issues/59#issuecomment-854872743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEYHS4BTZOP66KNJ4KKIJDTREALFANCNFSM457YX6LA.
Step 1 - Get NVM (Node Version Manger) curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash If you're curious about the installation command read the source code ... its been reviewed by several node.js security experts
Step 2 - Install the version of node.js you need Once you've got NVM you can install a specific version of Node.js using the nvm command:
nvm install v14.17.0 Note: you may need to close & re-open your terminal window for nvm command to be available.
You should expect to see something like this in your terminal:
Now using node v14.17.0 Step 3 - Enjoy the rest of your day!
After that you have to go to your project directory and run npm install It will install and update all dependency according to node version -14 And now you can run your app with your start script
Update complete. Will keep an eye on https://docs.aws.amazon.com/codebuild/latest/userguide/available-runtimes.html#linux-runtimes to update CodeBuild from node: 12 to node: 14
TV One
4 stars
Tiffany Gray @.***
On the web
update node js from 10 to 14