question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: ENOENT: no such file or directory, stat '/_generated/admin/index.html'

See original GitHub issue

running endurojs in docker node:onbuild latest version of node and npm. After successfully executing enduro create web && cd web && enduro i get the following output

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”~β€”Enduro startedβ€”~————————————————————┐ β”‚ Development server started at: β”‚ β”‚ localhost:3000 β”‚ β”‚ Admin ui available at: β”‚ β”‚ localhost:5000/admin β”‚ β”œβ€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β”€ β”‚ Admin has no live-reload! β”‚ β””β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β”˜ [03:33:45 | + 1.37] developer start [03:33:45 | + 0.09] Render started [03:33:45 | + 0.02] Sass compiling started [03:33:46 | + 0.14] Sass compiling finished [03:33:46 | + 0.02] Render finished [03:33:46 | + 0.01] browsersync started [03:33:46 | + 0.02] production server starting [03:33:46 | + 0.01] Production server started at port 5000

going to localhost:3000 and localhost:5000 gives me

Hey you!

Enduro is nice

Try it out yourself

which I assume is correct…however going to localhost:5000/admin gives me

Error: ENOENT: no such file or directory, stat β€˜/_generated/admin/index.html’

checking the directory structure I see there is no admin folder and index.html is in the root of generated

Am I missing a step here?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
CosmoMyzrailGorynychcommented, Jul 7, 2017

Enduro shows such errors sometimes for other pages if there is no final slash in url. There seems to be some inconsistency. I can’t find such routes now but will tell if i do.

Edit: well, it revealed that my errors are not related to this. I shoulda create a new issue in enduro_admin

0reactions
alifgiantcommented, Jan 18, 2018

hi @Gottwik , after enduro create and enduro dev, I still get this error, I use enduro version 1.4.45

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: ENOENT: no such file or directory, stat '/public/main.html ...
Since both the server and the index file are INSIDE the "public" directory, you can simply use : res.sendfile('./main.html');. To answer the question...
Read more >
no such file or directory, stat '/public/main.html' at Error (native ...
HTML : Error : ENOENT : no such file or directory, stat '/public/main. html ' at Error (native) [ Gift : Animated Search...
Read more >
no such file or directory, stat '/opt/render/project/src/build/index ...
Im getting an error Error: ENOENT: no such file or directory, stat '/opt/render/project/src/build/index.html'.
Read more >
no such file or directory) anymore - shiny - RStudio Community
An error has occurred Invalid application configuration. ENOENT: no such file or directory, stat '/srv/shiny-server/index.html'.
Read more >
express error: enoent: no such file or directory, stat - You.com
static() in app.js will work property to serve your static HTML fiels. Then, you can remove the two routes you have for index.html...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found