aws-amplify / aws-amplify/amplify-cli

Install of aws-amplify with cli

Open
#11,645 5 comments 0 reactions 0 assignees View on GitHub
bug installation p2
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### How did you install the Amplify CLI?

npm

### If applicable, what version of Node.js are you using?

18.12.1

### Amplify CLI Version

10.5.2

### What operating system are you using?

Mac

### Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No manual changes made

### Describe the bug

After install via cli, I was able to access aws and create/configure a new amplify project locally and on aws. There is a recurring error that appears and does not allow me to run any further amplify commands.
`EACCES: permission denied, open '/Users/joey/.amplify/logs/amplify-cli-2022-12-21.log'`
and
`Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report'
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/`

### Expected behavior

I should be able to interact with the amplify-cli

### Reproduction steps

npm install -g @aws-amplify/cli
required sudo
sudo npm install -g @aws-amplify/cli
then after some research
sudo npm install -g @aws-amplify/cli --unsafe-perm=true
then without the last flag
sudo npm install -g @aws-amplify/cli

### Project Identifier

59a61f02-c6d9-46cf-b785-7a60fb06ef3d

### Log output

```
# Put your logs below this line
from: `nano /Users/joey/.amplify/logs/amplify-cli-2022-12-21.log`
2022-12-21T07:10:23.717Z|info : amplify version core
2022-12-21T22:41:55.276Z|info : amplify version core
2022-12-22T00:10:27.402Z|info : amplify version core
2022-12-22T00:13:18.007Z|info : amplify version core

```

### Additional information

_No response_

### Before submitting, please confirm:

- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.