2 Answers
- Newest
- Most votes
- Most comments
2
This typically happens if a previous attempt to install Node.js left some files behind.
The installation script likely uses a specific directory to store Node.js files. Identify this directory. It's often /home/ec2-user/environment/node or a similar path. Adjust the path according to your setup.
# Navigate to the installation directory
cd /home/ec2-user/environment/node
# Remove the existing Node.js directory
sudo rm -rf node-v18.19.0-linux-x64
# Optionally clear temporary files
sudo rm -rf /tmp/*
# Re-run the Cloud9 installation script
./install-cloud9.sh
0
Thanks a lot for your help!!
Seems it's solve exiting with 1 mv: cannot overwrite 'node/node-v18.19.0-linux-x64': Directory not empty,
but I have another problem as below :
checking build system type... mkdir: cannot create directory '/tmp/cg18301-32541': Permission denied
mkdir: cannot create directory '/tmp/cg-18301': Permission denied
config.guess: cannot create a temporary directory in /tmp
configure: error: cannot guess build type; you must specify one
exiting with 1
Failed Bash. Exit code 1.
What do I need to do?
answered 4 months ago
sudo chmod 1777 /tmp
Relevant content
- asked a year ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
please accept the answer if it was useful