Updated to Ghost 2.8 get Url error

I updated to Ghost 2.8 and now I get this error, I really hope someone can help me:

2018-12-14T18:20:04.426445+00:00 app[web.1]: TypeError: URL is not a constructor
2018-12-14T18:20:04.426446+00:00 app[web.1]: at Object. (/app/node_modules/ghost/core/server/services/auth/members/index.js:7:20)
2018-12-14T18:20:04.426448+00:00 app[web.1]: at Module._compile (module.js:570:32)
2018-12-14T18:20:04.426449+00:00 app[web.1]: at Object.Module._extensions…js (module.js:579:10)
2018-12-14T18:20:04.426450+00:00 app[web.1]: at Module.load (module.js:487:32)
2018-12-14T18:20:04.426452+00:00 app[web.1]: at tryModuleLoad (module.js:446:12)
2018-12-14T18:20:04.426453+00:00 app[web.1]: at Function.Module._load (module.js:438:3)
2018-12-14T18:20:04.426454+00:00 app[web.1]: at Module.require (module.js:497:17)
2018-12-14T18:20:04.426456+00:00 app[web.1]: at require (internal/module.js:20:19)
2018-12-14T18:20:04.426457+00:00 app[web.1]: at Object. (/app/node_modules/ghost/core/server/services/auth/authenticate.js:7:17)
2018-12-14T18:20:04.426458+00:00 app[web.1]: at Module._compile (module.js:570:32)
2018-12-14T18:20:04.426460+00:00 app[web.1]: at Object.Module._extensions…js (module.js:579:10)
2018-12-14T18:20:04.426461+00:00 app[web.1]: at Module.load (module.js:487:32)
2018-12-14T18:20:04.426462+00:00 app[web.1]: at tryModuleLoad (module.js:446:12)
2018-12-14T18:20:04.426463+00:00 app[web.1]: at Function.Module._load (module.js:438:3)
2018-12-14T18:20:04.426465+00:00 app[web.1]: at Module.require (module.js:497:17)
2018-12-14T18:20:04.426466+00:00 app[web.1]: at require (internal/module.js:20:19)

Url: https://blog.agado.io
Ghost version: 2.8
Configuration: Heroku
Node version: 6.11.x
All browsers

This might help you to get your site online. (not to fix the error)

This looks like a bug. Thanks for the report :+1: I will raise an issue.

Upgrading to Node v8 should fix your issue.

2 Likes

Thank you, this did the trick!

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