-
Notifications
You must be signed in to change notification settings - Fork 72
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
很抱歉,不知道为何安装不上 #34
Comments
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/yun-playlist-downloader/node_modules/@magicdawn/get-cursor-position/.node-gyp' 权限问题, 可以尝试切换账户啥的 |
可以用这个命令装 |
加上--unsafe-perm倒是绕过了权限问题 |
yun-playlist-downloader@2.2.0 已发布 |
带进度的下载不了,会报错,把这个关了(加上
|
-p false works, thx bro |
Windows,nodejs12环境,安装失败
Windows,WSL Ubuntu 19.10+nodejs12环境,安装失败
Ubuntu 19.10,nodejs12环境,安装失败
是nodejs版本问题吗?
放上错误信息
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/12.13.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/yun-playlist-downloader/node_modules/@magicdawn/get-cursor-position/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/yun-playlist-downloader/node_modules/@magicdawn/get-cursor-position/.node-gyp'
gyp ERR! System Linux 4.4.0-18362-Microsoft
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/yun-playlist-downloader/node_modules/@magicdawn/get-cursor-position
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @magicdawn/get-cursor-position@1.0.5 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @magicdawn/get-cursor-position@1.0.5 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-11-28T16_41_56_502Z-debug.log
The text was updated successfully, but these errors were encountered: