凉亭安装失败错误对象安装,-F没有方法'includes'

时间:2018-12-21 06:16:36

标签: npm bower

下发错误:

Object install,-F has no method 'includes'

Stack trace:
TypeError: Object install,-F has no method 'includes'
    at Manager._electSuitable (/usr/local/lib/node_modules/bower/lib/core/Manager.js:993:38)
    at /usr/local/lib/node_modules/bower/lib/core/Manager.js:735:22
    at _fulfilled 

    (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:854:54)
        at self.promiseDispatch.done (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:883:30)
        at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:816:13)
        at /usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:570:49
        at runSingle (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:137:13)
        at flush (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:125:13)
        at process._tickCallback (node.js:458:13)

控制台跟踪:

  Error
    at StandardRenderer.error (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:88:37)
    at Logger.<anonymous> (/usr/local/lib/node_modules/bower/lib/bin/bower.js:113:30)
    at Logger.emit (events.js:95:17)
    at Logger.emit (/usr/local/lib/node_modules/bower/lib/node_modules/bower-logger/lib/Logger.js:29:39)
    at /usr/local/lib/node_modules/bower/lib/commands/index.js:49:24
    at _rejected (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:864:24)
    at /usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:890:30
    at Promise.when (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:1142:31)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:808:41)
    at /usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:624:44
System info:
Bower version: 1.8.4
Node version: 0.10.48
OS: Linux 2.6.32-504.1.3.el6.x86_64 x64
:bowerInstall FAILED

0 个答案:

没有答案