安装keystone.js时出错

时间:2017-08-30 22:43:12

标签: node.js keystonejs

我尝试在AWS上安装keystone.js(Ubuntu 14.04.2 LTS实例)。

root run:

sudo npm install -g generator-keystone

at" var / node2 / finweb" RAN:

sudo  yo keystone

出现以下错误:

undefined:76
 } if (userModelPath.includes('-')) { ;
                 ^
TypeError: Object users has no method 'includes'
    at eval (eval at template (/usr/lib/node_modules/generator-keystone   node_modules/yeoman-generator/node_modules/lodash/dist/lodash.js:6306:22),   <anonymous>:76:22)
    at KeystoneGenerator.underscore [as _engine] (/usr/lib/node_modules/generator-keystone/node_modules/yeoman-generator/lib/util/engines.js:31:45)
at KeystoneGenerator.engine (/usr/lib/node_modules/generator-keystone/node_modules/yeoman-generator/lib/actions/actions.js:314:10)
at KeystoneGenerator.template (/usr/lib/node_modules/generator-keystone/node_modules/yeoman-generator/lib/actions/actions.js:289:15)
at KeystoneGenerator.project (/usr/lib/node_modules/generator-keystone/app/index.js:320:7)
at /usr/lib/node_modules/generator-keystone/node_modules/yeoman-generator/lib/base.js:395:14
at processImmediate [as _immediateCallback] (timers.js:354:15)

有什么想法吗?它必须是基本的东西,因为我还没有完成。感谢。

0 个答案:

没有答案