born2net / Angular-kitchen-sink

:rocket: Angular - learn by example
http://ng.javascriptninja.io
755 stars 146 forks source link

angular 2 loading #20

Closed foxjazz closed 8 years ago

foxjazz commented 8 years ago

After npm install it starts with Angular 2 loading

SVG's SMIL animations (, , etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead. http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json Failed to load resource: the server responded with a status of 404 (Not Found) index.html:50 Error: Error: XHR error (404 Not Found) loading http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json(…) "error system.js Error: Error: XHR error (404 Not Found) loading http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json Error loading http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json Error loading http://localhost:8080/src/App.ts"

born2net commented 8 years ago

Are you sure you are and 6.6.0 as this was fixed today

foxjazz commented 8 years ago

After npm install this morning and the hotloader commands. I ran gulp development clicked on the link.

:hov

.cls

element.style { } user agent stylesheet body { display: block; margin: 8px; } margin8 8border‒ ‒padding‒ ‒636 × 1203‒ ‒‒ ‒8 8

Console

Preserve log  SVG's SMIL animations (, , etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead. system.src.js:5112 GET http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json 404 (Not Found) index.html:50 Error: Error: XHR error (404 Not Found) loading http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json(…) "error system.js Error: Error: XHR error (404 Not Found) loading http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json Error loading http://localhost:8080/jspm_packages/github/twbs/bootstrap@3.3.6.json Error loading http://localhost:8080/src/App.ts"

born2net commented 8 years ago

I tried it and works for me... as a workaround run:

jspm install github:twbs/bootstrap

in ng2Boilerplate root dir let me know

amirtoole commented 8 years ago

twbs/bootstrap isn't in package.json I needed to manually run jspm install as well Great repo btw.

born2net commented 8 years ago

updated again but it should be under

"devDependencies": {
      "angular-platform-browser-dynamic": "npm:@angular/platform-browser-dynamic@^2.0.0-rc.1",
      "bootstrap": "github:twbs/bootstrap@^3.3.6",
      ...