更新私の更新はできません/投稿を編集できません。新しい投稿を作成するたびに、デッドループと入力します。助けてくださいT-TKeystoneJSは投稿を更新できません
最近私はCMSとしてkeystoneJSを使用してプログラムを開始しました。
すべてがうまくいくが、このPostの問題。
Keystone-demoをyo keystone
(Yeomanで作成したKeystoneJSジェネレータを使用)でインストールした場合、公開ポストは機能しますが、手動でキーストーンをインストールすると、問題が発生します。
Google Inspect Consoleでは、エラー -
"TypeError: undefined is not an object (evaluating 'refList.expandColumns')"
私はキーストーンバージョンの問題だと思います。 これは私のpackage.json
ファイル
{
"name": "keystone-demo",
"version": "1.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/JedWatson/keystone-demo.git"
},
"dependencies": {
"keystone": "https://github.com/keystonejs/keystone.git",
"async": "^1.5.0",
"lodash": "^3.10.1",
"csv": "^0.4.6",
"gulp": "^3.9.1",
"gulp-less": "^3.1.0",
"gulp-shell": "^0.5.2",
"gulp-watch": "^4.3.5",
"pug": "^2.0.0-alpha6"
},
"scripts": {
"start": "node keystone.js"
}
}
であり、これはその中package.json
ファイルはあなたが常に安定していないgithubのから最新のキーストーンバージョンをロードしている通常版
{
"name": "keystone",
"version": "0.0.0",
"private": true,
"dependencies": {
"keystone": "^0.3.16",
"async": "^1.5.0",
"underscore": "^1.8.3",
"node-sass": "^3.3.2",
"node-sass-middleware": "^0.9.7",
"dotenv": "^1.1.0"
},
"devDependencies": {
"gulp": "^3.7.0",
"gulp-jshint": "^1.9.0",
"jshint-stylish": "^0.1.3",
"gulp-shell": "^0.5.0",
"gulp-watch": "^4.3.5",
"gulp-sass": "^2.0.4"
},
"engines": {
"node": ">=0.10.22",
"npm": ">=1.3.14"
},
"scripts": {
"start": "node keystone.js"
},
"main": "keystone.js"
}