Giter Site home page Giter Site logo

lyndaexercisefiles / angular2-essential-training Goto Github PK

View Code? Open in Web Editor NEW
41.0 10.0 182.0 201 KB

NOTE: This is an old repo. New repo can be found at:

Home Page: https://github.com/coursefiles/angular2-essential-training

CSS 18.90% HTML 20.84% TypeScript 53.45% JavaScript 6.80%

angular2-essential-training's Issues

base href leading to not found errors

Dear Justine,

Nice job! I wanted to try the app but somehow the base href causes not found errors on many files. Please find the log here.


GET http://localhost:63342/node_modules/core-js/client/shim.min.js 
localhost/:9 GET http://localhost:63342/node_modules/zone.js/dist/zone.js 
localhost/:10 GET http://localhost:63342/node_modules/reflect-metadata/Reflect.js 
localhost/:12 GET http://localhost:63342/systemjs.config.js 
localhost/:11 GET http://localhost:63342/node_modules/systemjs/dist/system.src.js 
localhost/:13 GET http://localhost:63342/resets.css 
localhost/:8 GET http://localhost:63342/node_modules/core-js/client/shim.min.js 
(index):9 GET http://localhost:63342/node_modules/zone.js/dist/zone.js 
(index):10 GET http://localhost:63342/node_modules/reflect-metadata/Reflect.js 
(index):11 GET http://localhost:63342/node_modules/systemjs/dist/system.src.js 
(index):12 GET http://localhost:63342/systemjs.config.js 
(index):13 GET http://localhost:63342/resets.css 
(index):22 Uncaught ReferenceError: System is not defined(anonymous function) @ (index):22

npm run clean fails

What am I doing wrong?

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 verbose unsafe-perm in lifecycle true
7 info [email protected] Failed to exec prestart script
8 error [email protected] prestart: npm run clean
8 error Exit status 1
9 error Failed at the [email protected] prestart script.
9 error This is most likely a problem with the angular2-essential-training package,
9 error not with npm itself.
9 error Tell the author that this fails on your system:
9 error npm run clean
9 error You can get their info via:
9 error npm owner ls angular2-essential-training
9 error There is likely additional logging output above.
10 error System Darwin 15.6.0
11 error command "node" "/usr/local/bin/npm" "start"
12 error cwd /Users/allstonians02134/angular2-essential-training
13 error node -v v0.10.25
14 error npm -v 1.3.24
15 error code ELIFECYCLE
16 verbose exit [ 1, true ]

MockXHRBackend is not working with Angular 6 version

While building example application with Angular 6, I found that MockXHRBackend class is not working properly with Angular 6 version. I got following error

ERROR TypeError: next.handle is not a function
    at HttpXsrfInterceptor.push../node_modules/@angular/common/fesm5/http.js.HttpXsrfInterceptor.intercept (http.js:1748)
    at HttpInterceptorHandler.push../node_modules/@angular/common/fesm5/http.js.HttpInterceptorHandler.handle (http.js:1137)
    at HttpInterceptingHandler.push../node_modules/@angular/common/fesm5/http.js.HttpInterceptingHandler.handle (http.js:1788)
    at MergeMapSubscriber.project (http.js:974)
    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (mergeMap.js:61)
    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (mergeMap.js:51)
    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:55)
    at Observable._subscribe (scalar.js:5)
    at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe (Observable.js:42)
    at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe (Observable.js:28)
defaultErrorLogger @ core.js:1673
push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ core.js:1719
next @ core.js:4319

Appreciate if it will be possible to have an Angular 6 version.

npm error

tsc && concurrently "tsc -w" "lite-server" fail on my system

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.