Error: ENOENT, stat dist/index.html
See original GitHub issueSometimes console logs out Error: ENOENT, stat '/home/ubuntu/workspace/dist/index.html'
Issue Analytics
- State:
- Created 8 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Error: ENOENT: no such file or directory, stat '/public/main.html ...
I had a similar issue when I referred to dist folder. the relative path to index.html was: app.get('*', (req, res) => { res.sendFile(path.join(__dirname, ......
Read more >no such file or directory, open '/dist/index.html' · Issue #959 ...
Error : ENOENT: no such file or directory, open '\C:\Users\Bilal Khalid\Desktop\Practice Codes\universal\dist\browser\index.html' ...
Read more >Error: ENOENT: no such file or directory, stat '/public/main.html ...
HTML : Error : ENOENT : no such file or directory, stat '/public/main. html ' at Error (native) [ Gift : Animated Search...
Read more >Error: ENOENT: no such file or directory, stat '/opt/render ...
I have a next error: Error: ENOENT: no such file or directory, stat '/opt/render/project/src/client/build/index. html - Render.
Read more >Error: ENOENT: no such file or directory, stat '/client/index.html'
Hi, when using .sendFile() it seems like I cannot serve static HTML above the current folder(above __dirname folder).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
cool 😃