Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start error #18

Open
harvey-woo opened this issue May 18, 2016 · 6 comments
Open

npm start error #18

harvey-woo opened this issue May 18, 2016 · 6 comments

Comments

@harvey-woo
Copy link

harvey-woo commented May 18, 2016

I ran npm start, and got following errors

[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\karma.start
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\serve.coverage
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\serve.docs
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\server.prod
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\server.start
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\tslint
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\watch.dev
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\watch.e2e
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\watch.test
[18:31:06] Loading tasks folder D:\Project\ng2-bootstrap-sbadmin\tools\tasks\project
[18:31:06] Registering task D:\Project\ng2-bootstrap-sbadmin\tools\tasks\project\sample.task
[18:31:06] Using gulpfile D:\Project\ng2-bootstrap-sbadmin\gulpfile.ts
[18:31:06] Starting 'serve.dev'...
[18:31:06] Starting 'build.dev'...
[18:31:06] Starting 'clean.dev'...
[18:31:07] Deleted dist/dev
[18:31:07] Finished 'clean.dev' after 716 ms
[18:31:07] Starting 'tslint'...

D:\Project\ng2-bootstrap-sbadmin\tools\tasks\project\sample.task.ts
      line 13  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.assets.dev.ts
      line 11  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.assets.prod.ts
      line 27  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.docs.ts
      line 31  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.index.prod.ts
      line 24  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.js.e2e.ts
      line 26  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.js.prod.ts
      line 29  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.js.test.ts
      line 29  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\build.js.tools.ts
      line 24  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\check.versions.ts
      line 33  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\clean.all.ts
      line 4  col 25  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\clean.dev.ts
      line 4  col 25  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\clean.prod.ts
      line 4  col 37  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\clean.tools.ts
      line 11  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\karma.start.ts
      line 9  col 2  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\serve.coverage.ts
      line 3  col 23  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\serve.docs.ts
      line 3  col 19  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\server.prod.ts
      line 3  col 19  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\server.start.ts
      line 3  col 18  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\watch.dev.ts
      line 3  col 28  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\watch.e2e.ts
      line 3  col 28  missing semicolon

    × 1 error


D:\Project\ng2-bootstrap-sbadmin\tools\tasks\seed\watch.test.ts
      line 3  col 29  missing semicolon

    × 1 error

[18:31:11] Finished 'tslint' after 4.57 s
[18:31:11] Starting 'css-lint'...

src/client/css/main.css
86:3    ‼  #eee collides with #e5e5e5 (16:27) [css-colorguard]
135:3   ‼  CSS Filter Effects not supported by: IE (10,11), Firefox (30,31,32,33,34), IE Mobile (10,
11) (css-filters) [doiuse]


src/client/css/main.css
86:3    ‼  #eee collides with #e5e5e5 (16:27) [css-colorguard]
135:3   ‼  CSS Filter Effects not supported by: IE (10,11), Firefox (30,31,32,33,34), IE Mobile (10,
11) (css-filters) [doiuse]


src/client/css/sb-admin-2.css
18:3    ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
102:3   ‼  #eee collides with #f8f8f8 (8:20) [css-colorguard]
102:3   ‼  #eee collides with #e7e7e7 (26:27) [css-colorguard]
176:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
290:3   ‼  #ddd collides with #e7e7e7 (26:27) [css-colorguard]
291:3   ‼  #eee collides with #f8f8f8 (8:20) [css-colorguard]
291:3   ‼  #eee collides with #e7e7e7 (26:27) [css-colorguard]
308:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
326:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
344:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]


src/client/css/sb-admin-2.css
18:3    ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
102:3   ‼  #eee collides with #f8f8f8 (8:20) [css-colorguard]
102:3   ‼  #eee collides with #e7e7e7 (26:27) [css-colorguard]
176:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
290:3   ‼  #ddd collides with #e7e7e7 (26:27) [css-colorguard]
291:3   ‼  #eee collides with #f8f8f8 (8:20) [css-colorguard]
291:3   ‼  #eee collides with #e7e7e7 (26:27) [css-colorguard]
308:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
326:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]
344:3   ‼  #fff collides with #f8f8f8 (8:20) [css-colorguard]


src/client/app/components/home/timeline.css
61:3    ‼  #ccc collides with #d4d4d4 (48:20) [css-colorguard]
63:3    ‼  #ccc collides with #d4d4d4 (48:20) [css-colorguard]
152:5   ‼  calc() as CSS unit value not supported by: Android Browser (4.4,4.4.3-4.4.4) (calc) [doiu
se]
153:5   ‼  calc() as CSS unit value not supported by: Android Browser (4.4,4.4.3-4.4.4) (calc) [doiu
se]
154:5   ‼  calc() as CSS unit value not supported by: Android Browser (4.4,4.4.3-4.4.4) (calc) [doiu
se]

[18:31:14] Finished 'css-lint' after 3.04 s
[18:31:14] Starting 'build.assets.dev'...
[18:31:16] Finished 'build.assets.dev' after 1.41 s
[18:31:16] Starting 'build.html_css'...
[18:31:18] Finished 'build.html_css' after 2.17 s
[18:31:18] Starting 'build.js.dev'...
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/accordion/accordion-group.com
ponent.d.ts(1,35): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/alert/alert.component.d.ts(1,
38): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/buttons/button-checkbox.direc
tive.d.ts(1,24): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/buttons/button-checkbox.direc
tive.d.ts(2,47): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/buttons/button-radio.directiv
e.d.ts(1,36): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/buttons/button-radio.directiv
e.d.ts(2,47): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/carousel/carousel.component.d
.ts(1,27): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/carousel/slide.component.d.ts
(1,35): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/collapse/collapse.directive.d
.ts(1,46): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/common.d.ts(1,34): error TS23
07: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/datepicker/datepicker-popup.c
omponent.d.ts(1,68): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/datepicker/datepicker-popup.c
omponent.d.ts(2,25): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/datepicker/datepicker.compone
nt.d.ts(1,47): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/dropdown/dropdown-menu.direct
ive.d.ts(1,36): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/dropdown/dropdown-toggle.dire
ctive.d.ts(1,36): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/dropdown/dropdown.directive.d
.ts(1,61): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/pagination/pager.component.d.
ts(1,46): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/pagination/pager.component.d.
ts(2,25): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/pagination/pagination.compone
nt.d.ts(1,60): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/pagination/pagination.compone
nt.d.ts(2,47): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/progressbar/bar.component.d.t
s(1,35): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/progressbar/progress.directiv
e.d.ts(1,24): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/rating/rating.component.d.ts(
1,38): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/rating/rating.component.d.ts(
2,47): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/tabs/tab-heading.directive.d.
ts(1,29): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/tabs/tab.directive.d.ts(1,54)
: error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/tabs/tabset.component.d.ts(1,
35): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/timepicker/timepicker.compone
nt.d.ts(1,24): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/timepicker/timepicker.compone
nt.d.ts(2,47): error TS2307: Cannot find module '@angular/common'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/tooltip/tooltip-container.com
ponent.d.ts(1,62): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/tooltip/tooltip.directive.d.t
s(1,58): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/typeahead/typeahead-container
.component.d.ts(1,28): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/typeahead/typeahead.directive
.d.ts(1,102): error TS2307: Cannot find module '@angular/core'.
D:/Project/ng2-bootstrap-sbadmin/node_modules/ng2-bootstrap/components/typeahead/typeahead.directive
.d.ts(2,25): error TS2307: Cannot find module '@angular/common'.
[18:31:22] TypeScript: 34 semantic errors
[18:31:22] TypeScript: emit succeeded (with errors)
[18:31:22] Finished 'build.js.dev' after 4.01 s
[18:31:22] Starting 'build.index.dev'...
[18:31:23] gulp-inject 5 files into index.html.
[18:31:23] gulp-inject 4 files into index.html.
[18:31:23] gulp-inject 4 files into index.html.
[18:31:23] Finished 'build.index.dev' after 863 ms
[18:31:23] Finished 'build.dev' after 17 s
[18:31:23] Starting 'server.start'...
[18:31:24] Finished 'server.start' after 791 ms
[18:31:24] Starting 'watch.dev'...
[18:31:24] Finished 'watch.dev' after 765 ms
[18:31:24] Finished 'serve.dev' after 18 s
[BS] Access URLs:
 -----------------------------------------
       Local: http://localhost:5556/
    External: http://169.254.207.243:5556/
 -----------------------------------------
          UI: http://localhost:3002
 UI External: http://169.254.207.243:3002
 -----------------------------------------
[BS] Serving files from: dist/dev

And got errors in Chrome console

button.ts:1 Uncaught ReferenceError: require is not defined(anonymous function) @ button.ts:1
card.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ card.ts:1
checkbox.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ checkbox.ts:1
input.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ input.ts:1
list.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ list.ts:1
progress-circle.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ progress-circle.ts:1
progress-bar.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ progress-bar.ts:1
radio.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ radio.ts:1
sidenav.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ sidenav.ts:1
toolbar.ts:1Uncaught ReferenceError: require is not defined(anonymous function) @ toolbar.ts:1
angular2-polyfills.js?1463566795255:127 GET http://localhost:5555/node_modules/@angular2-material/package.json 404 (Not Found)scheduleTask @ angular2-polyfills.js?1463566795255:127ZoneDelegate.scheduleTask @ angular2-polyfills.js?1463566795255:362Zone.scheduleMacroTask @ angular2-polyfills.js?1463566795255:299(anonymous function) @ angular2-polyfills.js?1463566795255:148send @ VM167:3fetchTextFromURL @ system.src.js?1463566795254:1156(anonymous function) @ system.src.js?1463566795254:1739ZoneAwarePromise @ angular2-polyfills.js?1463566795255:610(anonymous function) @ system.src.js?1463566795254:1738(anonymous function) @ system.src.js?1463566795254:2764(anonymous function) @ system.src.js?1463566795254:3338(anonymous function) @ system.src.js?1463566795254:3605(anonymous function) @ system.src.js?1463566795254:3990(anonymous function) @ system.src.js?1463566795254:4453(anonymous function) @ system.src.js?1463566795254:4705(anonymous function) @ system.src.js?1463566795254:408ZoneDelegate.invoke @ angular2-polyfills.js?1463566795255:349Zone.run @ angular2-polyfills.js?1463566795255:242(anonymous function) @ angular2-polyfills.js?1463566795255:597ZoneDelegate.invokeTask @ angular2-polyfills.js?1463566795255:382Zone.runTask @ angular2-polyfills.js?1463566795255:282drainMicroTaskQueue @ angular2-polyfills.js?1463566795255:500ZoneTask.invoke @ angular2-polyfills.js?1463566795255:452
(index):114 Error: Error: XHR error (404 Not Found) loading http://localhost:5555/node_modules/@angular2-material/package.json(…) "Report this error at https://github.com/mgechev/angular2-seed/issues"(anonymous function) @ (index):114ZoneDelegate.invoke @ angular2-polyfills.js?1463566795255:349Zone.run @ angular2-polyfills.js?1463566795255:242(anonymous function) @ angular2-polyfills.js?1463566795255:597ZoneDelegate.invokeTask @ angular2-polyfills.js?1463566795255:382Zone.runTask @ angular2-polyfills.js?1463566795255:282drainMicroTaskQueue @ angular2-polyfills.js?1463566795255:500ZoneTask.invoke @ angular2-polyfills.js?1463566795255:452
angular2-polyfills.js?1463566795255:127 GET http://localhost:5555/node_modules/@angular2-material/package.json 404 (Not Found)scheduleTask @ angular2-polyfills.js?1463566795255:127ZoneDelegate.scheduleTask @ angular2-polyfills.js?1463566795255:362Zone.scheduleMacroTask @ angular2-polyfills.js?1463566795255:299(anonymous function) @ angular2-polyfills.js?1463566795255:148send @ VM167:3fetchTextFromURL @ system.src.js?1463566795254:1156(anonymous function) @ system.src.js?1463566795254:1739ZoneAwarePromise @ angular2-polyfills.js?1463566795255:610(anonymous function) @ system.src.js?1463566795254:1738(anonymous function) @ system.src.js?1463566795254:2764(anonymous function) @ system.src.js?1463566795254:3338(anonymous function) @ system.src.js?1463566795254:3605(anonymous function) @ system.src.js?1463566795254:3990(anonymous function) @ system.src.js?1463566795254:4453(anonymous function) @ system.src.js?1463566795254:4705(anonymous function) @ system.src.js?1463566795254:408ZoneDelegate.invoke @ angular2-polyfills.js?1463566795255:349Zone.run @ angular2-polyfills.js?1463566795255:242(anonymous function) @ angular2-polyfills.js?1463566795255:597ZoneDelegate.invokeTask @ angular2-polyfills.js?1463566795255:382Zone.runTask @ angular2-polyfills.js?1463566795255:282drainMicroTaskQueue @ angular2-polyfills.js?1463566795255:500ZoneTask.invoke @ angular2-polyfills.js?1463566795255:452
@n0daft
Copy link

n0daft commented May 27, 2016

Same here: Missing semicolons and Cannot find module '@angular/core'.
npm v. 3.9.2
node v. 5.2.0

@projenix
Copy link

Same here:

node: 4.4.5
NPM: 3.9.2

And then when I go to localhost:5555 the page is only saying "Loading ..." and stays like that forever.

@poush
Copy link

poush commented Jun 2, 2016

And Same here ... too

@robinmaple
Copy link

Same here:

Node:4.4.5
NPM: 3.9.3

@BrunoFenzl
Copy link

same here…

@OrlandoYero
Copy link

Same here:

Node: 5.5.0
NPM: 3.9.2

http://localhost:5555/ ==> "Loading ..." and only that

mgechev added a commit that referenced this issue Jun 24, 2016
[fix] #18 npm start fix. travis ci build fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants