无法安装beautiful-docs npm库

时间:2016-06-28 08:16:06

标签: node.js npm npm-install

我想从主源安装beautiful-docs库。 https://github.com/beautiful-docs/beautiful-docs

我正在尝试npm install -g命令,似乎一切都很顺利。 然后当我运行bfdocs命令时,我收到以下错误:

module.js:338
  throw err;
      ^
Error: Cannot find module '../lib/command.js'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/usr/local/lib/node_modules/beautiful-docs/bin/bfdocs:2:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)

有关此错误的任何想法?

0 个答案:

没有答案