aurelia-configuration: Getting a 404 loading aurelia-configuration@1.0.7.js
Hello. I’m getting a 404 from aurelia-configuration on a fresh install:
http://localhost:9000/jspm_packages/github/vheissu/aurelia-configuration@1.0.7.js -> 404
My config file is at /config/config.json which should be the default.
My main.js is as follows:
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging()
.plugin('aurelia-configuration', config => {
config.setCascadeMode(false);
config.setEnvironments({
development: ['localhost', '192.168.*.*'],
production: ['brandonftaylor.com', 'www.brandonftaylor.com']
});
})
.plugin('aurelia-validation');
The stack trace from Chrome Developer Tools:
system.js:4 Uncaught (in promise) Error: XHR error (404 Not Found) loading http://localhost:9000/jspm_packages/github/vheissu/aurelia-configuration@1.0.7.js
Error loading http://localhost:9000/jspm_packages/github/vheissu/aurelia-configuration@1.0.7.js
at o (http://localhost:9000/jspm_packages/system.js:4:12694)
at XMLHttpRequest.s.onreadystatechange (http://localhost:9000/jspm_packages/system.js:4:13219)t @ system.src.js:4597g @ system.src.js:4597(anonymous function) @ system.src.js:4597
Thoughts?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 27 (10 by maintainers)
Commits related to this issue
- fix(jspm): correct main path fixes https://github.com/Vheissu/Aurelia-Configuration/issues/43 — committed to JeroenVinke/Aurelia-Configuration by JeroenVinke 8 years ago
- fix(build): fix build task fixes https://github.com/Vheissu/Aurelia-Configuration/issues/43#issuecomment-228062492 — committed to JeroenVinke/Aurelia-Configuration by JeroenVinke 8 years ago
- fix(build): fix build task fixes https://github.com/Vheissu/Aurelia-Configuration/issues/43#issuecomment-228062492 — committed to JeroenVinke/Aurelia-Configuration by JeroenVinke 8 years ago
- fix(jspm): fix build output fixes https://github.com/Vheissu/Aurelia-Configuration/issues/43#issuecomment-228062492 — committed to JeroenVinke/Aurelia-Configuration by JeroenVinke 8 years ago
- fix(jspm): fix build output (#50) fixes https://github.com/Vheissu/Aurelia-Configuration/issues/43#issuecomment-228062492 — committed to Vheissu/aurelia-configuration by JeroenVinke 8 years ago
Experiencing this error with 1.0.8, override fix above did not resolve the issue for me.
@wshayes Haha not pushy at all. I do aim to get on this ASAP, possibly today actually. I want to change how the files are loaded, well abstract it out because now we have System.js and Webpack users to contend with, which complicates things a little bit from a loading perspective.