I'm trying to install Amplify AWS to my existing Android app, but I keep running into this error...
Node.js is not installed. Visit https://nodejs.org/en/download/ to install it.
I'm following this doc : https://docs.amplify.aws/start/getting-started/setup/q/integration/android#add-amplify-to-your-application
I've try to install and re-install both of node.js version available on their website. I've try to clean and rebuild my project. Also try to update my Android Studio. Also try to be sure that node is on my $PATH.
I've follow every instruction I've found on Google : this one in here , also this one
That one on Github
Anyone have a idea what's next? :(
After adding a dependency and when the gradle build starts it looks for the node.js and npm (node package manager), if not installed then it throws this error.
Solution: In this case first close the studio and install the node.js and npm, refer the below link for installing steps
https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
If the OS is linux then using the nvm was recommended in case of windows then nvm-windows or you can download the node.js installer binary. After installing run the below commands from the terminal or command prompt
output of node and npm version
Then start the studio, the gradle will start the build and the progress can be seen in progress bar.