Error loading files from parent directory
See original GitHub issueIt’s not an issue (most likely) but I have to be sure.
I have directory tree similar to:
- project
- bower_components
- lib
- lib.css
- lib
- app
- index.html
- bower_components
My http-server is running in app
directory. If I try to include lib.css
in my index.html I get 404 error. I suspect that it is normal behavior and http-server can’t serve files from ancestor directories. Am I correct? Or is it something wrong with my setup and http-server is supposed to be able to serve such files
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
Error loading files from parent directory · Issue #222
I have directory tree similar to: project bower_components lib lib.css app index.html My ... Error loading files from parent directory #222.
Read more >Is its parent directory writable by the server? — How to Fix ...
The error can happen due to incorrect permissions, ownerships, or the location of the uploads folder. Regardless of the cause, we're here to ......
Read more >Error while reading a file from parent directory
I have "A/B/C" and I am working in C directory. I have a file in directory B which references a file from directory...
Read more >FAQ: Why FileIO connection fail with error 'Parent Directory ...
FAQ: Why FileIO connection fail with error 'Parent Directory {xxxx} does not contain any valid directories' in Informatica Cloud?
Read more >Python - Import from parent directory
Return Type: This method returns a normalized version of the pathname path. Firstly we will get the name of the directory where the...
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
it’s
404
- request goes to/bower_components/lib/lib.css
ignoring “…” at the begining and of course it’s not there.The workaround from the stackoverflow link above is NOT to access a parent directory and have your files in the same directory or child directories.