Hello, I'm new to this, I'm using this video as a guide https://www.youtube.com/watch?v=pMAc7lmKGAA in the video description are the commands
everything fine until I use the command sudo yarn start I get this error I investigated I made the changes but I still get the same error
Someone could help me, I don't know what I'm doing wrong.
Hi @Fabricio31,
Welcome to Google Cloud Community!
Node.js version on your system is not compatible with the required version for the "instance-1@0.1.0" package. To resolve this, follow these steps:
1. Uninstall your current Node.js installation using the commands:
sudo apt-get remove nodejs
sudo apt-get remove npm
2. Install the latest version of Node.js using a Node Version Manager (NVM) with the commands:
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
3. Verify the Node.js installation with the command:
node -v
4. Update npm to the latest version with the command:
npm install -g npm
5. Restart your terminal window.
After completing these steps, you should have a Node.js version compatible with the required version, and the error should be resolved.