【问题标题】:Error installing the mongo-edu on mac在 mac 上安装 mongo-edu 时出错
【发布时间】:2016-10-07 14:25:55
【问题描述】:

我正在尝试在我的 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 El Capitan) 和...

$ 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

【问题讨论】:

    标签: python macos mongodb npm nodes


    【解决方案1】:

    youtube 下载器有问题

    see this

    menas youtube 下载程序包会发出噪音:(

    【讨论】:

      猜你喜欢
      • 2015-11-10
      • 2019-10-13
      • 2018-09-10
      • 2018-05-03
      • 2016-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多