Issue running 'npm start --production' on debian server

  • Posted June 28, 2014

Hello guys,

I’ve configured a debian enviroment in order to run a ghost blog and i’m getting the following error:

ERROR: Cannot read property '__cid' of undefined 
 TypeError: Cannot read property '__cid' of undefined
    at Runner_SQLite3.<anonymous> (/root/addictedCoder/stableaddicted/node_modules/knex/lib/runner.js:89:30)
    at tryCatch1 (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/util.js:63:19)
    at Runner_SQLite3.Promise$_method [as query] (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/promise.js:267:25)
    at Runner_SQLite3.<anonymous> (/root/addictedCoder/stableaddicted/node_modules/knex/lib/runner.js:100:19)
    at Reduction$iterate [as iterate] (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/reduce.js:57:27)
    at Object.Promise$_reducer (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/reduce.js:95:15)
    at Object.Promise$_unpackReducer (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/reduce.js:102:29)
    at tryCatch1 (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/util.js:63:19)
    at Promise$_callHandler [as _callHandler] (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/promise.js:695:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/root/addictedCoder/stableaddicted/node_modules/knex/node_modules/bluebird/js/main/promise.js:711:18)

Looks like a problem with sqlite but couldn’t find a solution, could you help me please?

Regards, Addicted.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

How did you install Ghost? Judging from this issue on GitHub, it sounds like you might be trying to run it from the master branch rather than from stable This is unsupported and likely to break.

If you’re trying to install from git, you can use this command to get the stable branch:

git clone -b stable