dougludlow / aspnetcore1-angular2-jspm Goto Github PK
View Code? Open in Web Editor NEWASP.NET 5/Core1 Angular2 JSPM Demo
Home Page: https://royaljay.com/development/angular2-tutorial/
ASP.NET 5/Core1 Angular2 JSPM Demo
Home Page: https://royaljay.com/development/angular2-tutorial/
Cloning this repro and running the Karma test fails on Windows 10.
Repro steps
npm install
npm test
Expected result
AppComponent
✓ has the correct welcome message
PhantomJS 2.0.0 (Windows 8/10): Executed 1 of 1 SUCCESS (0.002 secs / 0.001 secs)
TOTAL: 1 SUCCESS
Actual result
01 03 2016 13:58:17.899:INFO [karma]: Karma v0.13.21 server started at http://localhost:9876/
01 03 2016 13:58:17.935:INFO [launcher]: Starting browser PhantomJS2
01 03 2016 13:58:21.950:INFO [PhantomJS 2.0.0 (Windows 8 0.0.0)]: Connected on socket /#WbYysKRZuB91_4gHAAAA with id 80148377
PhantomJS 2.0.0 (Windows 8 0.0.0) ERROR LOG: 'Potentially unhandled rejection [4]
at http://localhost:9876/base/jspm_packages/system.src.js?281591da6090abed69cd0b080aa69c8de089a41c:733:14
at tryCatchReject (http://localhost:9876/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1252:34)
at runContinuation1 (http://localhost:9876/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1211:18)
at when (http://localhost:9876/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:1032:20)
at run (http://localhost:9876/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:890:17)
at _drain (http://localhost:9876/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:166:22)
at drain (http://localhost:9876/base/jspm_packages/system-polyfills.src.js?3aa57969dce4ecea4c51aab540f372d15cc886b6:131:15)'
01 03 2016 13:58:33.091:WARN [PhantomJS 2.0.0 (Windows 8 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.
PhantomJS 2.0.0 (Windows 8 0.0.0): Executed 0 of 0 DISCONNECTED (11.143 secs / 0 secs)
npm ERR! Test failed. See above for more details.
Hey Doug,
Many Thanks for your perseverance..
Following your suggestion (of clearing cache), I have tried again.
Still getting these issues:
system.src.js:4935 GET http://localhost:5000/.js 404 (Not Found)
Uncaught (in promise) Error: Error: XHR error (404 Not Found) loading http://localhost:5000/.js(…)
tried clearing cache in npm and jspm both.. still no luck.
Strange thing is that, I have done the same set-up on another laptop (windows 10 with no visual studio) and it works fine there ..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.