Cannot load resource ".".
See original GitHub issueI’m trying to configure api-platform/core
on an existing app.
Following Installing API Platform Core I’ve set
# app/config/routing.yml
api:
resource: '.'
type: 'api_platform'
prefix: '/api' # Optional
But, going to 127.0.0.1:8001/api
I receive the exception
FileLoaderLoadException in Loader.php line 73: Cannot load resource “.”.
What am I missing?
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
4 Ways to Fix the “Failed to Load Resource: net - Kinsta
A common culprit in Google Chrome is the cache. To reset your Chrome cache, open up the browser. Navigate to your Chrome settings...
Read more >Failed to load resource under Chrome - Stack Overflow
I recently ran into this problem and discovered that it was caused by the "Adblock" extension (my best guess is that it's because...
Read more >How To Fix "Failed To Load Resource" Error In WordPress
Failed to load resource error occurs when WordPress is unable to load a file that it is supposed to load. Basically when WordPress...
Read more >Cannot load a resource from a ResourceScope that has been ...
The error "Cannot load a resource from a ResourceScope that has been disposed" has started appearing on a couple of libraries in one...
Read more >Why might I receive the error "Cannot load resource string" in ...
It is possible that the path you copied from the other machine does not match the path on this machine. For example, if...
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
Mmm, really strange… On the new created app it works perfectly with the instructions provided by the tutorial… I’m going to investigate on the other app which is the problem…
Strange… now all works well… I cleared the cache multiple times during tests and in the end I have only the same exact modifications suggested by the tutorial… Anyway now works… Before I’ve also deleted the cache folder but nothing changed… Anyway it seems to be a problem related to the cache…