inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

비전공자를 위한 진짜 입문 올인원 개발 부트캠프

Sequelize, Sqlite 설치하기

npm install -g sequelize-cli

333

이한성

작성한 질문수 6

1

안녕하세요 그랩님

npm install -g  sequelize-cli가 안깔립니다ㅜ

혹시나 해서 global을 제외하고 

npm install sequelize-cli로만 했더니 깔렸는데 이렇게 사용해도 괜찮은건가요?

에러코드 올려봅니다

매번 감사합니다 그랩님

npm ERR! code EACCES

npm ERR! syscall symlink

npm ERR! path ../lib/node_modules/sequelize-cli/lib/sequelize

npm ERR! dest /usr/local/bin/sequelize

npm ERR! errno -13

npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'

npm ERR!  [OperationalError: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] {

npm ERR!   cause: [Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] {

npm ERR!     errno: -13,

npm ERR!     code: 'EACCES',

npm ERR!     syscall: 'symlink',

npm ERR!     path: '../lib/node_modules/sequelize-cli/lib/sequelize',

npm ERR!     dest: '/usr/local/bin/sequelize'

npm ERR!   },

npm ERR!   errno: -13,

npm ERR!   code: 'EACCES',

npm ERR!   syscall: 'symlink',

npm ERR!   path: '../lib/node_modules/sequelize-cli/lib/sequelize',

npm ERR!   dest: '/usr/local/bin/sequelize'

npm ERR! }

npm ERR! 

npm ERR! The operation was rejected by your operating system.

npm ERR! It is likely you do not have the permissions to access this file as the current user

npm ERR! 

npm ERR! If you believe this might be a permissions issue, please double-check the

npm ERR! permissions of the file and its containing directories, or try running

npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/sumin/.npm/_logs/2021-06-08T10_23_16_558Z-debug.log

sumin@192-168-1-117 grab-market-server % npm install -g sequelize-cli

npm ERR! code EACCES

npm ERR! syscall symlink

npm ERR! path ../lib/node_modules/sequelize-cli/lib/sequelize

npm ERR! dest /usr/local/bin/sequelize

npm ERR! errno -13

npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'

npm ERR!  [OperationalError: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] {

npm ERR!   cause: [Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] {

npm ERR!     errno: -13,

npm ERR!     code: 'EACCES',

npm ERR!     syscall: 'symlink',

npm ERR!     path: '../lib/node_modules/sequelize-cli/lib/sequelize',

npm ERR!     dest: '/usr/local/bin/sequelize'

npm ERR!   },

npm ERR!   errno: -13,

npm ERR!   code: 'EACCES',

npm ERR!   syscall: 'symlink',

npm ERR!   path: '../lib/node_modules/sequelize-cli/lib/sequelize',

npm ERR!   dest: '/usr/local/bin/sequelize'

npm ERR! }

npm ERR! 

npm ERR! The operation was rejected by your operating system.

npm ERR! It is likely you do not have the permissions to access this file as the current user

npm ERR! 

npm ERR! If you believe this might be a permissions issue, please double-check the

npm ERR! permissions of the file and its containing directories, or try running

npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/sumin/.npm/_logs/2021-06-08T10_25_06_402Z-debug.log

sumin@192-168-1-117 grab-market-server % npm install sequelize-cli

npm WARN grab-market-server@1.0.0 No description

npm WARN grab-market-server@1.0.0 No repository field.

+ sequelize-cli@6.2.0

added 72 packages from 46 contributors and audited 258 packages in 3.405s

5 packages are looking for funding

  run `npm fund` for details

found 0 vulnerabilities

javascript 머신러닝 배워볼래요? tensorflow express react react-native HTML/CSS nodejs

답변 2

1

그랩

안녕하세요! 현재 맥 운영체제를 사용중이신가요?

종종 안되는 경우들이 보이는데 아래 블로그 글을 참고해보시면 좋을 것 같습니다!

http://junil-hwang.com/blog/npm-global-error/

만약 영구적으로 적용하고 싶다면 아래 글을 참고해주세요~!
https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

0

이한성

바로 해결됐어요 감사합니다!!

[해결]그랩님 답변 주세요.

0

190

2

그랩님의 답변을 기다립니다/102강 전반적인 에러

0

162

2

[그랩님께]101강 안드로이드 에러들(Key prop)해결방법 궁금합니다.

0

139

2

[재질문][그랩님 답변 부탁드립니다]101강

0

162

2

[그랩님 답변 부탁드립니다]101강 Axios 에러와 502 Bad Gateway 질문

0

119

2

Ngrok 설치 후 forwarding Url 에러

0

145

2

[그랩님께,Ngrok 악성코드 인식 해결방법]질문 드립니다.

0

251

2

Ngrok 설치 후 forwarding Url로 연결 불가

0

157

1

그랩님,[꼭] 답변 부탁드립니다.

0

76

1

[꼭][[꼭] 그랩님, 답변 부탁드립니다], Failed to load resource: the server responded with a status of 404 (Not Found) 상품 상세 페이지 질문입니다.

0

162

1

6강/7강 수업

0

56

1

그랩님, 상품 상세 페이지 에러와 의문점 질문드립니다.

0

105

2

그랩님, 해결되지 않은 에러 메시지 [꼭] 답변 부탁 드립니다.

0

148

2

[재 질문]Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?

0

94

1

Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?

0

134

2

일반적인 css 꾸미기에서 width와 height의 값?

0

98

2

Windows에서의 업로드 후 홈화면 상품이미지 오류 해결방법

0

204

1

그랩마켓 웹화면 구현하기 -2 질문입니다.

0

127

1

react에 반영이 되지 않습니다.

0

250

1

터미널 npm install -g create-react-app 작성 후 오류

0

430

1

create-react-app my app 실행 시 에러

0

358

2

포스트맨 질문

0

105

1

<꼭 답변 부탁 드립니다>그랩선생님, [컴포넌트 사용하기] 강의에서 질문 있습니다.

0

269

2

그랩선생님, 질문 답변 부탁 드립니다.vscode에서 npm install -g create-react-app 입력 후 에러 입니다.

0

492

2