Why do I see 404s?
May 15, 2014 ยท View on GitHub
404 errors are harmless during development. Rave crawls your project's metadata during development to auto-configure itself. At times, Rave doesn't find an expected metadata file, but this is usually recoverable and is often quite normal.
Can I eliminate these 404s?
In most cases, yes. However, it's not typically necessary to eliminate these 404 errors during development. If you really want to make them go away, here's what you can do:
- Add a
data-rave-metaelement to the<html>element. You can tell rave which package manager metadata to crawl by setting a value ondata-rave-meta. For instance, to only crawl forpackage.jsonfiles, do this:<html data-rave-meta="package.json">. To only crawl forbower.jsonfiles, do this:<html data-rave-meta="bower.json">. - Ensure that there are
bower.jsonfiles in your Bower-managed dependencies. Bower currently allows authors to publish packages withoutbower.json, unfortunately. Ifbower.jsonis missing for one of your favorite third-party packages, you should bug the author to add it!