我在安装Keystone@next ( beta版本)时遇到了问题,.I正在使用下面的命令。
我在D:/keystone驱动器中完成了npm init
npm install --save keystone@next我只是使用keystone github dir上提供的安装步骤获得节点模块,并且缺少运行keystone项目所需的核心文件。
GitHub:https://github.com/keystonejs/keystone#keystone-40-beta-released
发布于 2018-04-03 08:30:57
试试发电机-关键。您需要在使用约曼之前安装generator-keystone。几个月前,我使用了约曼生成器,当时它为我安装了测试版的KeystoneJS:
$ cat Documents/brand-keystonejs/package.json
{
"name": "studio",
"version": "0.0.0",
"private": true,
"dependencies": {
"async": "2.1.4",
"cloudinary": "1.7.0",
"connect-mongo": "^2.0.0",
"dotenv": "4.0.0",
"express-handlebars": "3.0.0",
"handlebars": "4.0.6",
"keystone": "4.0.0-beta.5",
"lodash": "^4.13.1",
"moment": "2.17.1",
"node-sass": "4.5.0",
"node-sass-middleware": "0.11.0"
},
"devDependencies": {
"eslint": "3.15.0",
"eslint-config-keystone": "3.0.0",
"eslint-plugin-react": "^5.1.1"
},
"scripts": {
"lint": "eslint .",
"start": "node keystone.js"
}
}https://stackoverflow.com/questions/49622678
复制相似问题