在mac上安装mongo-edu时出错

问题描述:

我正试图在我的mac上安装mongo-edu,但没有成功。 有没有人有一些解决方案呢?在mac上安装mongo-edu时出错

$ sudo npm install mongo-edu -g 

错误日志文件:

15129 silly install printInstalled 
15130 verbose stack Error: ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/mongo-edu/node_modules/youtube-dl/bin/youtube-dl' 
15130 verbose stack  at Error (native) 
15131 verbose cwd /Users/Biruel 
15132 error Darwin 15.5.0 
15133 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mongo-edu" "-g" 
15134 error node v6.2.1 
15135 error npm v3.9.6 
15136 error path /usr/local/lib/node_modules/mongo-edu/node_modules/youtube-dl/bin/youtube-dl 
15137 error code ENOENT 
15138 error errno -2 
15139 error syscall chmod 
15140 error enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/mongo-edu/node_modules/youtube-dl/bin/youtube-dl' 
15141 error enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/mongo-edu/node_modules/youtube-dl/bin/youtube-dl' 
15141 error enoent This is most likely not a problem with npm itself 
15141 error enoent and is related to npm not being able to find a file. 
15142 verbose exit [ -2, true ] 

我的版本(Mac的埃尔卡皮坦)和...

$ Python3 -V && Python -V && node -v && npm -v 
Python 3.5.1 
Python 2.7.11 ps: native on mac 
v6.2.1   ps: node 
3.9.6   ps: npm 

权限(CHMOD & CHOWN)。 我已经为以下,以保证我的访问权限

$ sudo chmod 755 -R /usr/local/lib 
$ sudo chown -R Biruel /usr/local/lib 

有与YouTube下载一个问题

see this

是menas YouTube下载包发出声音:(