InternalServerError: Cannot find module './config'


#1

Hi

I updated to Ghost 2.16.0 on Heroku and now I get the error in the bottom.
Url: https://blog.agado.io
Ghost version: 2.16.0
Node version: 10.15.x
Heroku configuration
Chrome browser
It happens when I visit the website.

Log:
2019-02-26T10:00:55.477737+00:00 heroku[web.1]: Starting process with command npm start --production
2019-02-26T10:00:58.652806+00:00 app[web.1]:
2019-02-26T10:00:58.652830+00:00 app[web.1]: > ghost-on-heroku@1.7.1 start /app
2019-02-26T10:00:58.652831+00:00 app[web.1]: > node server.js
2019-02-26T10:00:58.652832+00:00 app[web.1]:
2019-02-26T10:01:08.883511+00:00 app[web.1]: [2019-02-26 10:01:08] WARN Theme’s file locales/en.json not found.
2019-02-26T10:01:09.637216+00:00 app[web.1]: Unhandled rejection InternalServerError: Cannot find module ‘./config’
2019-02-26T10:01:09.637237+00:00 app[web.1]: at new GhostError (/app/node_modules/ghost/core/server/lib/common/errors.js:10:26)
2019-02-26T10:01:09.637239+00:00 app[web.1]: at server.catch (/app/node_modules/ghost/core/index.js:16:23)
2019-02-26T10:01:09.637240+00:00 app[web.1]: at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)
2019-02-26T10:01:09.637242+00:00 app[web.1]: at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)
2019-02-26T10:01:09.637243+00:00 app[web.1]: at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)
2019-02-26T10:01:09.637244+00:00 app[web.1]: at Promise._settlePromise0 (/app/node_modules/bluebird/js/release/promise.js:614:10)
2019-02-26T10:01:09.637246+00:00 app[web.1]: at Promise._settlePromises (/app/node_modules/bluebird/js/release/promise.js:690:18)
2019-02-26T10:01:09.637247+00:00 app[web.1]: at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:138:12)
2019-02-26T10:01:09.637248+00:00 app[web.1]: at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)
2019-02-26T10:01:09.637250+00:00 app[web.1]: at Async._drainQueues (/app/node_modules/bluebird/js/release/async.js:147:5)
2019-02-26T10:01:09.637251+00:00 app[web.1]: at Immediate.Async.drainQueues [as _onImmediate] (/app/node_modules/bluebird/js/release/async.js:17:14)
2019-02-26T10:01:09.637253+00:00 app[web.1]: at runCallback (timers.js:705:18)
2019-02-26T10:01:09.637254+00:00 app[web.1]: at tryOnImmediate (timers.js:676:5)
2019-02-26T10:01:09.637256+00:00 app[web.1]: at processImmediate (timers.js:658:5)


#2

#3

2.16.1 was released :slight_smile:


closed #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.