i've gone through Scott Allen's Hello World app, and have my Aurelia app working perfectly in visual studio.
For some reason, I'm unable to get the same result in WebStorm. My index.html body looks like:
<body aurelia-app>
<script src="jspm_packages/system.js"></script>
<script src="config.js"></script>
<script>
System.import("aurelia-bootstrapper");
</script>
</body>
and I'm met with a console error
Potentially unhandled rejection [3] Error loading "github:aurelia/bootstrapper@0.14.0" at http://localhost:63342/jspm_packages/github/aurelia/bootstrapper@0.14.0.js
the full error looks like:
it looks like it's trying to grab a file
boostrapper@0.14.0.js
, whne that's actually a folder. Why am I unable to get the exact same code working in webstorm as in visual studio?
Here's my bootstrapper section of my config:
"github:aurelia/bootstrapper@0.14.0": {
"aurelia-event-aggregator": "github:aurelia/event-aggregator@0.6.1",
"aurelia-framework": "github:aurelia/framework@0.13.2",
"aurelia-history": "github:aurelia/history@0.6.0",
"aurelia-history-browser": "github:aurelia/history-browser@0.6.1",
"aurelia-loader-default": "github:aurelia/loader-default@0.9.0",
"aurelia-logging-console": "github:aurelia/logging-console@0.6.0",
"aurelia-router": "github:aurelia/router@0.10.1",
"aurelia-templating": "github:aurelia/templating@0.13.2",
"aurelia-templating-binding": "github:aurelia/templating-binding@0.13.0",
"aurelia-templating-resources": "github:aurelia/templating-resources@0.13.0",
"aurelia-templating-router": "github:aurelia/templating-router@0.14.0",
"core-js": "npm:core-js@0.9.18"
},
and running jspm -v
yields
C:\Users\Jones\WebstormProjects\Aurelia>jspm -v
0.15.7
Running against global jspm install.