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

mac环境 npm install error #751

Open
GeminiJJ opened this issue Nov 18, 2022 · 1 comment
Open

mac环境 npm install error #751

GeminiJJ opened this issue Nov 18, 2022 · 1 comment

Comments

@GeminiJJ
Copy link

npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: EACCES: permission denied, rmdir '/Users/jianjian/Library/Caches/node-gyp/18.12.1'
npm ERR! gyp ERR! System Darwin 21.6.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/jianjian/Desktop/VueProjects/jj-system-front/system-front/node_modules/deasync
npm ERR! gyp ERR! node -v v18.12.1
npm ERR! gyp ERR! node-gyp -v v9.1.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed


rmdir没权限是啥情况

@Beipy
Copy link

Beipy commented Feb 20, 2023

添加权限命令 sudo npm install

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

No branches or pull requests

2 participants