Error: ENOENT: no such file or directory
See original GitHub issueDescribe the bug
Admin panel shows white screen due to requested bundles are not exists
I’ve got Error: ENOENT: no such file or directory
for next:
/admin-bro/lib/frontend/assets/scripts/global-bundle.development.js
/admin-bro/lib/frontend/assets/scripts/app-bundle.development.js'
Installed libraries and their versions
- “@admin-bro/express”: “^3.1.0”
- “@admin-bro/mongoose”: “^1.1.0”,
- “admin-bro”: “^3.4.0”,
Expected behavior Admin panel should load 😄
AdminBroOptions with schema
{
rootPath: '/admin',
resources: [
{
resource: SomeRes,
},
],
}
Desktop (please complete the following information if relevant):
- OS: MacOS
- Browser Chrome
- Version 89.0.4389.114
Additional context Another project with ABSOLUTELY same configuration of AdminBro works perfectly. Cleaning node_modules don’t resolve issue Cleaning cache don’t resolve issue
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to resolve Nodejs: Error: ENOENT: no such file or ...
Your app is expecting to find a file at /home/embah/node/nodeapp/config/config.json but that file does not exist (which is what ENOENT ...
Read more >How to fix: npm ERR! enoent ENOENT: no such file or ...
The error message was npm ERR! enoent ENOENT: no such file or directory, ... delete node-modules folder; run command npm cache clean --force ......
Read more >ENOENT: no such file or directory · Issue #1171
After updating from 6.3.0 to 6.4.1 I've got errors. node:internal/process/promises:246 triggerUncaughtException(err, true /* fromPromise */) ...
Read more >ENOENT No Such File or Directory Open - YouTube
In This Video We Will See How to Fix npm ERR Code ENOENT npm ERR syscall Open Error or ENOENT No Such File...
Read more >How To Fix the “Enoent” Error?
No such files or directory means that the library is currently needed or the executable binary doesn't exist. Conclusion. Let's review what we...
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 Free
Top 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
Wow, looks like it was an issue with
.yarnclean
On my other project, there is no auto-clean option during install.Removing
.yarnclean
and force reinstall modules helps! Thanks for great support!I’m not sure how yarnclean exactly works, but those two files aren’t imported anywhere in the codebase (they’re just prebundled for your own app to use) so they could’ve been considered unneeded