Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

strapi start: "url is not defined" - using mlab mongo DB

When I run 'strapi start' I get the following output in my terminal:

debug ⛔️ Server wasn't able to start properly.

Error URL is not defined

Any solutions? I have recreated my mlab DB 3 times and when I enter all the values in the terminal to create the new strapi server I double check my values and everything from GitHub issues and strapi documentations say I'm doing the correct thing, but not able to figure out why this is happening! Appreciate any help!

like image 696
dramadom Avatar asked Dec 08 '25 17:12

dramadom


1 Answers

As @soupette have said in the comment:

Strapi needs Node v10 to be installed in order to work. If you upgrade your node version it should be working properly

I can confirm the same error on my end with NodeJS 8.11.1

Strapi's GitHub page confirms that minimum NodeJS version is 10.x

like image 51
Bartholomew Avatar answered Dec 10 '25 12:12

Bartholomew



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!