-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running pm2 deploy production setup #7
Comments
I have the same issue on my AWS EC2 remote server. Any news? |
I had |
You are trying to create the directory at the root level which is not permitted. Try changing the path to something like '/home/ec2-user/Users'. To determine the actual folder path, ssh into your ec2 instance and run |
when i install forever with the command "# npm install -g forever", i got this "▐ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ npm WARN optional Skipping failed optional dependency /forever/chokidar/fsevents: |
When I run pm2 deploy production setup I get this in return
--> Deploying to production environment
--> on host 67.205.178.187
○ hook pre-setup
[email protected]'s password:
mkdir: cannot create directory ‘/Users’: Permission denied
mkdir: cannot create directory ‘/Users’: Permission denied
mkdir: cannot create directory ‘/Users’: Permission denied
setup paths failed
Deploy failed
Why does this happen?
The text was updated successfully, but these errors were encountered: