【发布时间】:2015-04-27 20:54:29
【问题描述】:
几天来,我一直在尝试反复安装 Bower。安装挂在同一点 -
npm verb about to build C:\Users\spjbd\AppData\Roaming\npm\node_modules\bower\no
de_modules\insight
npm info build C:\Users\spjbd\AppData\Roaming\npm\node_modules\bower\node_module
s\insight
npm verb linkStuff [ true,
npm verb linkStuff 'C:\\Users\\spjbd\\AppData\\Roaming\\npm\\node_modules',
npm verb linkStuff false,
npm verb linkStuff 'C:\\Users\\spjbd\\AppData\\Roaming\\npm\\node_modules\\bow
er\\node_modules' ]
npm info linkStuff insight@0.4.3
npm verb linkBins insight@0.4.3
npm verb linkMans insight@0.4.3
npm verb rebuildBundles insight@0.4.3
npm verb rebuildBundles [ '.bin',
npm verb rebuildBundles 'async',
npm verb rebuildBundles 'chalk',
npm verb rebuildBundles 'configstore',
npm verb rebuildBundles 'inquirer',
npm verb rebuildBundles 'lodash.debounce',
npm verb rebuildBundles 'object-assign',
npm verb rebuildBundles 'os-name',
npm verb rebuildBundles 'tough-cookie' ]
npm info install insight@0.4.3
npm info postinstall insight@0.4.3
npm verb unlock done using C:\Users\spjbd\AppData\Roaming\npm-cache\_locks\insig
ht-46285e0bf21e5a96.lock for C:\Users\spjbd\AppData\Roaming\npm\node_modules\bow
er\node_modules\insight
我尝试了几种不同的方法来抵消 -
- 卸载/重新安装节点
- 更新 npm
- 为路径变量添加路径
- 等
出现的另一个错误是构建时 npm-cache 目录存在问题。
对让 bower 正确运行有什么见解吗?
【问题讨论】:
标签: node.js npm bower bower-install