작성
·
280
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