Reputation: 249
I am doing the aurelia tutorial http://aurelia.io/get-started.html
Im trying to install aurelia dependencies using gulp and jspm. I runned "jspm install -y" with no problem.
And when I go to the browser and open the console i have this error:
localhost/:5 GET http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/npm/[email protected]/css/font-awesome.min.css 404 (Not Found)
es6-module-loader.src.js:2563 GET http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/github/aurelia/[email protected] 404 (Not Found)
es6-module-loader.src.js:140 Potentially unhandled rejection [3] Error loading "github:aurelia/[email protected]" at http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/github/aurelia/[email protected]
Error loading "github:aurelia/[email protected]" from "github:aurelia/[email protected]" at http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/github/aurelia/[email protected]
Not Found: http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/github/aurelia/[email protected] (WARNING: non-Error used)
es6-module-loader.src.js:2563 GET http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/github/aurelia/[email protected] 404 (Not Found)
es6-module-loader.src.js:2563 GET http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/github/aurelia/[email protected] 404 (Not Found)
es6-module-loader.src.js:2563 GET http://localhost/proyectos/fabho/Aurelia/firstApp/navigation-app/jspm_packages/github/aurelia/[email protected] 404 (Not Found)
I try to fix this with:
But it does not work. Can you help me with this issue pls
Upvotes: 0
Views: 3187
Reputation: 16626
It seems that you uninstalled globally with -g and tried to install without it.
Anyway, what worked for me was:
Start a cmd prompt as Admin, install gulp and jspm globally (-g option) Then navigate to your app folder and install all depencies with npm then jspm
Upvotes: 1
Reputation: 249
I solve this problem using yeoman. The problem was with jspm.
Some details more http://fabhojs.blogspot.com/2015/03/aurelia-app-skeleton-yeoman-generator.html
Upvotes: 1
Reputation: 1106
The sample app starts in local port 9000.
Are you browsing to localhost:9000 ?
I don't see a port number in your error messages.
Upvotes: 0
Reputation: 4647
I think you need to start Command prompt as a administrator and then go to your application folder
like
C:\aureliaapp\Myapp>
and run command "gulp watch" before run this command you need to run these command also
npm install -g gulp
npm install -g jspm
If both command already done then run only "gulp watch" for your application.
Upvotes: 0