Gottwik / Enduro

Minimalistic, lean & mean, node.js cms
http://www.endurojs.com/
MIT License
690 stars 121 forks source link

Cannot open Admin interface on freshly created enduro project #315

Open j-holub opened 5 years ago

j-holub commented 5 years ago

Hey there,

first of all, thank you for creating this project, it seems like the perfect CMS that doesn't get into your way at first glace. I was eager to try it out, however, I cannot even open the Admin Interface, whenever I do I get the following error:

The page displays Cannot GET /admin and when I open the developer console it says

Refused to execute a script because its hash, its nonce, or 'unsafe-inline' appears in neither the script-src directive nor the default-src directive of the Content Security Policy

I'm on MacOs Mojave using Safari, but I've tried Chromium as well, same error.

Steps to reproduce

enduro new test enduro dev

open http://localhost:3000/admin in your browser.

ericgla commented 5 years ago

The correct url to open the admin UI is http://localhost:5000/admin

LucasMW commented 4 years ago

enduro --version

2.0.15

Doesn't work here:

Error: ENOENT: no such file or directory, stat '$HOME/site-enduro/blog1/_generated/admin/index.html'