Skip to content
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

Error: Missing required argument #1 #270

Closed
sohhyeonkim opened this issue Dec 13, 2021 · 0 comments
Closed

Error: Missing required argument #1 #270

sohhyeonkim opened this issue Dec 13, 2021 · 0 comments

Comments

@sohhyeonkim
Copy link
Collaborator

어떤 에러인가요?

  • aws ec2에서 ubuntu 18.04 인스턴스를 만들고, ec2와 rds를 연결할때, sequelize를 설치하지 못했다고 에러가 발생했다.
  • sudo npm install sequelize로 sequelize를 설치하려고 했는데도 에러가 발생했다.

에러 메시지

Error: Missing required argument #1

에러 핸들링 방법

  • 구글링 결과 우분투 18.04 apt에서 지원하는 npm 버전이 낮아서 발생하는 에러여서 다음과 같이 해결했다.
# npm cache clean --force
# npm install -g n
# n stable
  • npm github에 올라온 issue들에서는 npm install -gnpm@latest로 해결했다는 게시물도 있었다.

에러 핸들링을 위해 참고한 레퍼런스 링크

[링크]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants