flauc / angular2-edge-app

This application serves as an example for creating a basic Angular 2 application. The application was built as an example application for the Developing an Angular 2 Edge book.
21 stars 11 forks source link

npm run server error #2

Open dcasciotti opened 8 years ago

dcasciotti commented 8 years ago

npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/share/npm/bin/npm" "run" "server" npm ERR! node v4.4.7 npm ERR! npm v3.7.5 npm ERR! code ELIFECYCLE npm ERR! angular2-edge-app@0.0.1 server: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular2-edge-app@0.0.1 server script 'node index.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular2-edge-app package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node index.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular2-edge-app npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls angular2-edge-app npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/davidcasciotti/angular2-edge-app-master/npm-debug.log

flauc commented 8 years ago

I think the problem is that index.ts didn't compile to index.js. Do you have typescript installed globally?

gulp build-dev should compile all of the ts files automatically but only if you have typescript installed globally.

dcasciotti commented 8 years ago

I installed typescript globally and the app still won't load.

I got the following in terminal:

Last login: Mon Aug 8 09:25:03 on ttys001 DaveCasciottis-MacBook-Pro:~ davidcasciotti$ cd angular2-edge-app-master DaveCasciottis-MacBook-Pro:angular2-edge-app-master davidcasciotti$ ls README.md index.ts package.json serverDoc.md typings gulpfile.js node_modules public tsconfig.json typings.json index.js npm-debug.log server tslint.json DaveCasciottis-MacBook-Pro:angular2-edge-app-master davidcasciotti$ mongod 2016-08-09T06:47:14.800-0400 I CONTROL [initandlisten] MongoDB starting : pid=57359 port=27017 dbpath=/data/db 64-bit host=DaveCasciottis-MacBook-Pro.local 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] db version v3.2.8 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] git version: ed70e33130c977bda0024c125b56d159573dbaf0 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2h 3 May 2016 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] allocator: system 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] modules: none 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] build environment: 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] distarch: x86_64 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] target_arch: x86_64 2016-08-09T06:47:14.801-0400 I CONTROL [initandlisten] options: {} 2016-08-09T06:47:14.802-0400 E NETWORK [initandlisten] listen(): bind() failed errno:48 Address already in use for socket: 0.0.0.0:27017 2016-08-09T06:47:14.802-0400 E NETWORK [initandlisten] addr already in use 2016-08-09T06:47:14.802-0400 E STORAGE [initandlisten] Failed to set up sockets during startup. 2016-08-09T06:47:14.802-0400 I CONTROL [initandlisten] dbexit: rc: 48 DaveCasciottis-MacBook-Pro:angular2-edge-app-master davidcasciotti$ npm start

angular2-edge-app@0.0.1 start /Users/davidcasciotti/angular2-edge-app-master concurrently "npm run server" "npm run db"

[1] [1] > angular2-edge-app@0.0.1 db /Users/davidcasciotti/angular2-edge-app-master [1] > mongod [1] [0] [0] > angular2-edge-app@0.0.1 server /Users/davidcasciotti/angular2-edge-app-master [0] > node index.js [0] [1] 2016-08-09T06:47:47.129-0400 I CONTROL [initandlisten] MongoDB starting : pid=57380 port=27017 dbpath=/data/db 64-bit host=DaveCasciottis-MacBook-Pro.local [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] db version v3.2.8 [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] git version: ed70e33130c977bda0024c125b56d159573dbaf0 [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2h 3 May 2016 [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] allocator: system [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] modules: none [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] build environment: [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] distarch: x86_64 [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] target_arch: x86_64 [1] 2016-08-09T06:47:47.130-0400 I CONTROL [initandlisten] options: {} [1] 2016-08-09T06:47:47.133-0400 E NETWORK [initandlisten] listen(): bind() failed errno:48 Address already in use for socket: 0.0.0.0:27017 [1] 2016-08-09T06:47:47.133-0400 E NETWORK [initandlisten] addr already in use [1] 2016-08-09T06:47:47.133-0400 E STORAGE [initandlisten] Failed to set up sockets during startup. [1] 2016-08-09T06:47:47.133-0400 I CONTROL [initandlisten] dbexit: rc: 48 [1] [1] npm ERR! Darwin 14.5.0 [1] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "db" [1] npm ERR! node v4.4.7 [1] npm ERR! npm v2.15.8 [1] npm ERR! code ELIFECYCLE [1] npm ERR! angular2-edge-app@0.0.1 db: mongod [1] npm ERR! Exit status 48 [1] npm ERR! [1] npm ERR! Failed at the angular2-edge-app@0.0.1 db script 'mongod'. [1] npm ERR! This is most likely a problem with the angular2-edge-app package, [1] npm ERR! not with npm itself. [1] npm ERR! Tell the author that this fails on your system: [1] npm ERR! [1] mongod [1] npm ERR! You can get information on how to open an issue for this project with: [1] npm ERR! npm bugs angular2-edge-app [1] npm ERR! Or if that isn't available, you can get their info via: [1] npm ERR! [1] npm ERR! npm owner ls angular2-edge-app [1] npm ERR! There is likely additional logging output above. [1] [1] npm ERR! Please include the following file with any support request: [1] npm ERR! /Users/davidcasciotti/angular2-edge-app-master/npm-debug.log [1] npm run db exited with code 1 [0] events.js:141 [0] throw er; // Unhandled 'error' event [0] ^ [0] [0] Error: listen EACCES 0.0.0.0:1000 [0] at Object.exports._errnoException (util.js:873:11) [0] at exports._exceptionWithHostPort (util.js:896:20) [0] at Server._listen2 (net.js:1237:19) [0] at listen (net.js:1286:10) [0] at Server.listen (net.js:1382:5) [0] at /Users/davidcasciotti/angular2-edge-app-master/index.js:14:16 [0] at /Users/davidcasciotti/angular2-edge-app-master/server/config/mongo.js:13:9 [0] at /Users/davidcasciotti/angular2-edge-app-master/node_modules/mongodb/lib/db.js:233:5 [0] at connectHandler (/Users/davidcasciotti/angular2-edge-app-master/node_modules/mongodb/lib/server.js:331:7) [0] at g (events.js:260:16) [0] [0] npm [0] ERR! [0] Darwin 14.5.0 [0] npm [0] ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "server" [0] npm [0] ERR! node v4.4.7 [0] npm ERR! [0] npm v2.15.8 [0] npm ERR! code ELIFECYCLE [0] npm ERR! angular2-edge-app@0.0.1 server: node index.js [0] npm ERR! Exit status 1 [0] npm ERR! [0] npm ERR! Failed at the angular2-edge-app@0.0.1 server script 'node index.js'. [0] npm ERR! This is most likely a problem with the angular2-edge-app package, [0] npm ERR! not with npm itself. [0] npm ERR! Tell the author that this fails on your system: [0] npm ERR! node index.js [0] npm ERR! You can get information on how to open an issue for this project with: [0] npm ERR! npm bugs angular2-edge-app [0] npm [0] ERR! Or if that isn't available, you can get their info via: [0] npm ERR! [0] npm ERR! npm owner ls angular2-edge-app [0] npm ERR! There is likely additional logging output above. [0] [0] npm ERR! Please include the following file with any support request: [0] npm ERR! /Users/davidcasciotti/angular2-edge-app-master/npm-debug.log [0] npm run server exited with code 1

flauc commented 8 years ago

I think you have the mongo server running already. You should therefore just run npm run server

dcasciotti commented 8 years ago

I just ran npm run server and got this:

DaveCasciottis-MacBook-Pro:angular2-edge-app-master davidcasciotti$ npm run server

angular2-edge-app@0.0.1 server /Users/davidcasciotti/angular2-edge-app-master node index.js

events.js:141 throw er; // Unhandled 'error' event ^

Error: listen EACCES 0.0.0.0:1000 at Object.exports._errnoException (util.js:873:11) at exports._exceptionWithHostPort (util.js:896:20) at Server._listen2 (net.js:1237:19) at listen (net.js:1286:10) at Server.listen (net.js:1382:5) at /Users/davidcasciotti/angular2-edge-app-master/index.js:14:16 at /Users/davidcasciotti/angular2-edge-app-master/server/config/mongo.js:13:9 at /Users/davidcasciotti/angular2-edge-app-master/node_modules/mongodb/lib/db.js:233:5 at connectHandler (/Users/davidcasciotti/angular2-edge-app-master/node_modules/mongodb/lib/server.js:331:7) at g (events.js:260:16)

npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/share/npm/bin/npm" "run" "server" npm ERR! node v4.4.7 npm ERR! npm v3.7.5 npm ERR! code ELIFECYCLE npm ERR! angular2-edge-app@0.0.1 server: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular2-edge-app@0.0.1 server script 'node index.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular2-edge-app package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node index.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular2-edge-app npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls angular2-edge-app npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/davidcasciotti/angular2-edge-app-master/npm-debug.log

dcasciotti commented 8 years ago

I started from scratch;

DaveCasciottis-MacBook-Pro:~ davidcasciotti$ cd angular2-edge-app-2 DaveCasciottis-MacBook-Pro:angular2-edge-app-2 davidcasciotti$ ls README.md index.ts public serverDoc.md tslint.json gulpfile.js package.json server tsconfig.json typings.json DaveCasciottis-MacBook-Pro:angular2-edge-app-2 davidcasciotti$ npm install npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

angular2-edge-app@0.0.1 postinstall /Users/davidcasciotti/angular2-edge-app-2 typings install

typings WARN deprecated 6/18/2016, 10:32:15 PM: "registry:dt/body-parser#0.0.0+20160317120654" has been deprecated typings WARN deprecated 7/8/2016, 2:52:18 PM: "registry:dt/express#4.0.0+20160317120654" has been deprecated typings WARN deprecated 7/20/2016, 2:27:25 AM: "registry:dt/jsonwebtoken#0.0.0+20160316155526" has been deprecated typings WARN deprecated 6/2/2016, 10:29:41 AM: "registry:dt/mongodb#2.1.0+20160328151449" has been deprecated typings WARN deprecated 5/24/2016, 10:23:55 AM: "registry:dt/morgan#1.2.2+20160317120654" has been deprecated typings WARN deprecated 8/7/2016, 10:53:50 AM: "registry:dt/node#4.0.0+20160319033040" has been deprecated typings WARN deprecated 8/2/2016, 11:07:49 AM: "registry:dt/lodash#3.10.0+20160330154726" has been deprecated

├── bcrypt-nodejs (ambient) ├── body-parser (ambient) ├── es6-shim (ambient) ├── express (ambient) ├── jasmine (ambient) ├── jsonwebtoken (ambient) ├── lodash (ambient) ├── mongodb (ambient) ├── morgan (ambient) ├── node (ambient) └── socket.io (ambient)

angular2-edge-app@0.0.1 /Users/davidcasciotti/angular2-edge-app-2 ├── @angular/common@2.0.0-rc.4 ├── @angular/compiler@2.0.0-rc.4 ├── @angular/core@2.0.0-rc.4 ├── @angular/forms@0.2.0 ├── @angular/http@2.0.0-rc.4 ├── @angular/platform-browser@2.0.0-rc.4 ├── @angular/platform-browser-dynamic@2.0.0-rc.4 ├── @angular/router@3.0.0-beta.2 ├── @angular/upgrade@2.0.0-rc.4 ├── bcrypt-nodejs@0.0.3 ├─┬ body-parser@1.15.2 │ ├── bytes@2.4.0 │ ├── content-type@1.0.2 │ ├── debug@2.2.0 │ ├── depd@1.1.0 │ ├─┬ http-errors@1.5.0 │ │ ├── inherits@2.0.1 │ │ ├── setprototypeof@1.0.1 │ │ └── statuses@1.3.0 │ ├── iconv-lite@0.4.13 │ ├─┬ on-finished@2.3.0 │ │ └── ee-first@1.1.1 │ ├── qs@6.2.0 │ ├─┬ raw-body@2.1.7 │ │ └── unpipe@1.0.0 │ └─┬ type-is@1.6.13 │ ├── media-typer@0.3.0 │ └─┬ mime-types@2.1.11 │ └── mime-db@1.23.0 ├── co@4.6.0 ├─┬ concurrently@2.2.0 │ ├── bluebird@2.9.6 │ ├─┬ chalk@0.5.1 │ │ ├── ansi-styles@1.1.0 │ │ ├─┬ has-ansi@0.1.0 │ │ │ └── ansi-regex@0.2.1 │ │ ├── strip-ansi@0.3.0 │ │ └── supports-color@0.2.0 │ ├── commander@2.6.0 │ ├─┬ cross-spawn@0.2.9 │ │ └── lru-cache@2.7.3 │ ├── moment@2.14.1 │ └── rx@2.3.24 ├── core-js@2.4.1 ├─┬ del@2.2.1 │ ├─┬ globby@5.0.0 │ │ ├── array-union@1.0.2 │ │ ├─┬ glob@7.0.5 │ │ │ ├── fs.realpath@1.0.0 │ │ │ ├─┬ inflight@1.0.5 │ │ │ │ └── wrappy@1.0.2 │ │ │ ├─┬ minimatch@3.0.3 │ │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ │ ├── balanced-match@0.4.2 │ │ │ │ └── concat-map@0.0.1 │ │ │ ├── once@1.3.3 │ │ │ └── path-is-absolute@1.0.0 │ │ └── object-assign@4.1.0 │ ├── is-path-cwd@1.0.0 │ ├─┬ is-path-in-cwd@1.0.0 │ │ └─┬ is-path-inside@1.0.0 │ │ └── path-is-inside@1.0.1 │ ├── object-assign@4.1.0 │ ├── pify@2.3.0 │ ├─┬ pinkie-promise@2.0.1 │ │ └── pinkie@2.0.4 │ └── rimraf@2.5.4 ├─┬ express@4.14.0 │ ├─┬ accepts@1.3.3 │ │ └── negotiator@0.6.1 │ ├── array-flatten@1.1.1 │ ├── content-disposition@0.5.1 │ ├── cookie@0.3.1 │ ├── cookie-signature@1.0.6 │ ├── encodeurl@1.0.1 │ ├── escape-html@1.0.3 │ ├── etag@1.7.0 │ ├── finalhandler@0.5.0 │ ├── fresh@0.3.0 │ ├── merge-descriptors@1.0.1 │ ├── methods@1.1.2 │ ├── parseurl@1.3.1 │ ├── path-to-regexp@0.1.7 │ ├─┬ proxy-addr@1.1.2 │ │ ├── forwarded@0.1.0 │ │ └── ipaddr.js@1.1.1 │ ├── range-parser@1.2.0 │ ├─┬ send@0.14.1 │ │ ├── destroy@1.0.4 │ │ └── mime@1.3.4 │ ├── serve-static@1.11.1 │ ├── utils-merge@1.0.0 │ └── vary@1.1.0 ├─┬ gulp@3.9.1 │ ├── archy@1.0.0 │ ├─┬ chalk@1.1.3 │ │ ├── ansi-styles@2.2.1 │ │ ├─┬ has-ansi@2.0.0 │ │ │ └── ansi-regex@2.0.0 │ │ ├── strip-ansi@3.0.1 │ │ └── supports-color@2.0.0 │ ├── deprecated@0.0.1 │ ├─┬ gulp-util@3.0.7 │ │ ├── array-differ@1.0.0 │ │ ├── array-uniq@1.0.3 │ │ ├── beeper@1.1.0 │ │ ├─┬ chalk@1.1.3 │ │ │ ├── ansi-styles@2.2.1 │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ └── ansi-regex@2.0.0 │ │ │ ├── strip-ansi@3.0.1 │ │ │ └── supports-color@2.0.0 │ │ ├─┬ dateformat@1.0.12 │ │ │ ├── get-stdin@4.0.1 │ │ │ └─┬ meow@3.7.0 │ │ │ ├─┬ camelcase-keys@2.1.0 │ │ │ │ └── camelcase@2.1.1 │ │ │ ├── decamelize@1.2.0 │ │ │ ├─┬ loud-rejection@1.6.0 │ │ │ │ ├─┬ currently-unhandled@0.4.1 │ │ │ │ │ └── array-find-index@1.0.1 │ │ │ │ └── signal-exit@3.0.0 │ │ │ ├── map-obj@1.0.1 │ │ │ ├─┬ normalize-package-data@2.3.5 │ │ │ │ ├── hosted-git-info@2.1.5 │ │ │ │ ├─┬ is-builtin-module@1.0.0 │ │ │ │ │ └── builtin-modules@1.1.1 │ │ │ │ └─┬ validate-npm-package-license@3.0.1 │ │ │ │ ├─┬ spdx-correct@1.0.2 │ │ │ │ │ └── spdx-license-ids@1.2.2 │ │ │ │ └─┬ spdx-expression-parse@1.0.2 │ │ │ │ └── spdx-exceptions@1.0.5 │ │ │ ├── object-assign@4.1.0 │ │ │ ├─┬ read-pkg-up@1.0.1 │ │ │ │ ├─┬ find-up@1.1.2 │ │ │ │ │ └── path-exists@2.1.0 │ │ │ │ └─┬ read-pkg@1.1.0 │ │ │ │ ├── load-json-file@1.1.0 │ │ │ │ └── path-type@1.1.0 │ │ │ ├─┬ redent@1.0.0 │ │ │ │ ├─┬ indent-string@2.1.0 │ │ │ │ │ └── repeating@2.0.1 │ │ │ │ └── strip-indent@1.0.1 │ │ │ └── trim-newlines@1.0.0 │ │ ├─┬ fancy-log@1.2.0 │ │ │ ├─┬ chalk@1.1.3 │ │ │ │ ├── ansi-styles@2.2.1 │ │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ ├── strip-ansi@3.0.1 │ │ │ │ └── supports-color@2.0.0 │ │ │ └── time-stamp@1.0.1 │ │ ├─┬ gulplog@1.0.0 │ │ │ └── glogg@1.0.0 │ │ ├─┬ has-gulplog@0.1.0 │ │ │ └── sparkles@1.0.0 │ │ ├── lodash._reescape@3.0.0 │ │ ├── lodash._reevaluate@3.0.0 │ │ ├── lodash._reinterpolate@3.0.0 │ │ ├─┬ lodash.template@3.6.2 │ │ │ ├── lodash._basecopy@3.0.1 │ │ │ ├── lodash._basetostring@3.0.1 │ │ │ ├── lodash._basevalues@3.0.0 │ │ │ ├── lodash._isiterateecall@3.0.9 │ │ │ ├─┬ lodash.escape@3.2.0 │ │ │ │ └── lodash._root@3.0.1 │ │ │ ├── lodash.restparam@3.6.1 │ │ │ └── lodash.templatesettings@3.1.1 │ │ ├─┬ multipipe@0.1.2 │ │ │ └─┬ duplexer2@0.0.2 │ │ │ └── readable-stream@1.1.14 │ │ ├── object-assign@3.0.0 │ │ └─┬ vinyl@0.5.3 │ │ ├── clone@1.0.2 │ │ └── clone-stats@0.0.1 │ ├── interpret@1.0.1 │ ├─┬ liftoff@2.3.0 │ │ ├── extend@3.0.0 │ │ ├─┬ findup-sync@0.4.2 │ │ │ ├─┬ detect-file@0.1.0 │ │ │ │ └── fs-exists-sync@0.1.0 │ │ │ ├─┬ is-glob@2.0.1 │ │ │ │ └── is-extglob@1.0.0 │ │ │ ├─┬ micromatch@2.3.11 │ │ │ │ ├─┬ arr-diff@2.0.0 │ │ │ │ │ └── arr-flatten@1.0.1 │ │ │ │ ├── array-unique@0.2.1 │ │ │ │ ├─┬ braces@1.8.5 │ │ │ │ │ ├─┬ expand-range@1.8.2 │ │ │ │ │ │ └─┬ fill-range@2.2.3 │ │ │ │ │ │ ├── is-number@2.1.0 │ │ │ │ │ │ ├── randomatic@1.1.5 │ │ │ │ │ │ └── repeat-string@1.5.4 │ │ │ │ │ ├── preserve@0.2.0 │ │ │ │ │ └── repeat-element@1.1.2 │ │ │ │ ├─┬ expand-brackets@0.1.5 │ │ │ │ │ └── is-posix-bracket@0.1.1 │ │ │ │ ├── extglob@0.3.2 │ │ │ │ ├── filename-regex@2.0.0 │ │ │ │ ├── normalize-path@2.0.1 │ │ │ │ ├─┬ object.omit@2.0.0 │ │ │ │ │ ├─┬ for-own@0.1.4 │ │ │ │ │ │ └── for-in@0.1.5 │ │ │ │ │ └── is-extendable@0.1.1 │ │ │ │ ├─┬ parse-glob@3.0.4 │ │ │ │ │ ├── glob-base@0.3.0 │ │ │ │ │ └── is-dotfile@1.0.2 │ │ │ │ └─┬ regex-cache@0.4.3 │ │ │ │ ├── is-equal-shallow@0.1.3 │ │ │ │ └── is-primitive@2.0.0 │ │ │ └─┬ resolve-dir@0.1.1 │ │ │ └─┬ global-modules@0.2.3 │ │ │ ├─┬ global-prefix@0.1.4 │ │ │ │ └─┬ which@1.2.10 │ │ │ │ └── isexe@1.1.2 │ │ │ └── is-windows@0.2.0 │ │ ├─┬ fined@1.0.1 │ │ │ ├── expand-tilde@1.2.2 │ │ │ ├── lodash.assignwith@4.1.0 │ │ │ ├── lodash.isarray@4.0.0 │ │ │ ├── lodash.isempty@4.3.1 │ │ │ ├── lodash.pick@4.3.0 │ │ │ └─┬ parse-filepath@1.0.1 │ │ │ ├── map-cache@0.2.2 │ │ │ └─┬ path-root@0.1.1 │ │ │ └── path-root-regex@0.1.2 │ │ ├── flagged-respawn@0.3.2 │ │ ├── lodash.isplainobject@4.0.5 │ │ ├── lodash.isstring@4.0.1 │ │ ├── lodash.mapvalues@4.5.1 │ │ ├── rechoir@0.6.2 │ │ └── resolve@1.1.7 │ ├── minimist@1.2.0 │ ├─┬ orchestrator@0.3.7 │ │ ├── end-of-stream@0.1.5 │ │ ├── sequencify@0.0.7 │ │ └── stream-consume@0.1.0 │ ├── pretty-hrtime@1.0.2 │ ├── semver@4.3.6 │ ├─┬ tildify@1.2.0 │ │ └── os-homedir@1.0.1 │ ├─┬ v8flags@2.0.11 │ │ └── user-home@1.1.1 │ └─┬ vinyl-fs@0.3.14 │ ├── defaults@1.0.3 │ ├─┬ glob-stream@3.1.18 │ │ ├── glob@4.5.3 │ │ ├─┬ glob2base@0.0.12 │ │ │ └── find-index@0.1.1 │ │ ├── minimatch@2.0.10 │ │ ├── ordered-read-streams@0.1.0 │ │ ├─┬ through2@0.6.5 │ │ │ └── readable-stream@1.0.34 │ │ └── unique-stream@1.0.0 │ ├─┬ glob-watcher@0.0.6 │ │ └─┬ gaze@0.5.2 │ │ └─┬ globule@0.1.0 │ │ ├─┬ glob@3.1.21 │ │ │ ├── graceful-fs@1.2.3 │ │ │ └── inherits@1.0.2 │ │ ├── lodash@1.0.2 │ │ └─┬ minimatch@0.2.14 │ │ └── sigmund@1.0.1 │ ├── graceful-fs@3.0.8 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├─┬ strip-bom@1.0.0 │ │ ├── first-chunk-stream@1.0.0 │ │ └── is-utf8@0.2.1 │ ├─┬ through2@0.6.5 │ │ └── readable-stream@1.0.34 │ └─┬ vinyl@0.4.6 │ └── clone@0.2.0 ├─┬ gulp-autoprefixer@3.1.0 │ ├─┬ autoprefixer@6.4.0 │ │ ├── browserslist@1.3.5 │ │ ├── caniuse-db@1.0.30000520 │ │ ├── normalize-range@0.1.2 │ │ ├── num2fraction@1.2.2 │ │ └── postcss-value-parser@3.3.0 │ ├─┬ postcss@5.1.2 │ │ ├── js-base64@2.1.9 │ │ └─┬ supports-color@3.1.2 │ │ └── has-flag@1.0.0 │ ├─┬ through2@2.0.1 │ │ └─┬ readable-stream@2.0.6 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ └── util-deprecate@1.0.2 │ └── vinyl-sourcemaps-apply@0.2.1 ├─┬ gulp-inject@4.1.0 │ ├── arrify@1.0.1 │ ├── escape-string-regexp@1.0.5 │ ├─┬ event-stream@3.3.4 │ │ ├── duplexer@0.1.1 │ │ ├── from@0.1.3 │ │ ├── map-stream@0.1.0 │ │ ├── pause-stream@0.0.11 │ │ ├── split@0.3.3 │ │ ├── stream-combiner@0.0.4 │ │ └── through@2.3.8 │ ├─┬ group-array@0.3.1 │ │ ├── get-value@2.0.6 │ │ └─┬ kind-of@3.0.4 │ │ └── is-buffer@1.1.4 │ └── stream-to-array@2.3.0 ├─┬ gulp-stylus@2.5.0 │ ├─┬ accord@0.24.1 │ │ ├── convert-source-map@1.3.0 │ │ ├── fobject@0.0.4 │ │ ├── glob@7.0.3 │ │ ├── indx@0.2.3 │ │ ├── semver@5.3.0 │ │ └─┬ uglify-js@2.7.0 │ │ ├── async@0.2.10 │ │ ├── uglify-to-browserify@1.0.2 │ │ └─┬ yargs@3.10.0 │ │ ├── camelcase@1.2.1 │ │ ├─┬ cliui@2.1.0 │ │ │ ├─┬ center-align@0.1.3 │ │ │ │ ├─┬ align-text@0.1.4 │ │ │ │ │ └── longest@1.0.1 │ │ │ │ └── lazy-cache@1.0.4 │ │ │ ├── right-align@0.1.3 │ │ │ └── wordwrap@0.0.2 │ │ └── window-size@0.1.0 │ ├─┬ lodash.assign@3.2.0 │ │ ├── lodash._baseassign@3.2.0 │ │ ├─┬ lodash._createassigner@3.1.1 │ │ │ └── lodash._bindcallback@3.0.1 │ │ └─┬ lodash.keys@3.1.2 │ │ ├── lodash._getnative@3.9.1 │ │ ├── lodash.isarguments@3.0.9 │ │ └── lodash.isarray@3.0.4 │ ├── replace-ext@0.0.1 │ └─┬ stylus@0.54.5 │ ├── css-parse@1.7.0 │ ├── sax@0.5.8 │ └─┬ source-map@0.1.43 │ └── amdefine@1.0.0 ├─┬ gulp-typescript@2.13.6 │ ├── source-map@0.5.6 │ └─┬ vinyl-fs@2.4.3 │ ├─┬ duplexify@3.4.5 │ │ ├── end-of-stream@1.0.0 │ │ ├─┬ readable-stream@2.1.4 │ │ │ └── isarray@1.0.0 │ │ └── stream-shift@1.0.0 │ ├─┬ glob-stream@5.3.2 │ │ ├── glob@5.0.15 │ │ ├── glob-parent@2.0.0 │ │ ├─┬ ordered-read-streams@0.3.0 │ │ │ └── is-stream@1.1.0 │ │ ├─┬ through2@0.6.5 │ │ │ └─┬ readable-stream@1.0.34 │ │ │ └── isarray@0.0.1 │ │ ├─┬ to-absolute-glob@0.1.1 │ │ │ └── extend-shallow@2.0.1 │ │ └─┬ unique-stream@2.2.1 │ │ └─┬ json-stable-stringify@1.0.1 │ │ └── jsonify@0.0.0 │ ├── graceful-fs@4.1.5 │ ├─┬ gulp-sourcemaps@1.6.0 │ │ └── vinyl@1.2.0 │ ├── is-valid-glob@0.3.0 │ ├─┬ lazystream@1.0.0 │ │ └─┬ readable-stream@2.1.4 │ │ └── isarray@1.0.0 │ ├── lodash.isequal@4.3.1 │ ├─┬ merge-stream@1.0.0 │ │ └─┬ readable-stream@2.1.4 │ │ └── isarray@1.0.0 │ ├── object-assign@4.1.0 │ ├─┬ readable-stream@2.1.4 │ │ ├── buffer-shims@1.0.0 │ │ └── isarray@1.0.0 │ ├── strip-bom@2.0.0 │ ├── strip-bom-stream@1.0.0 │ ├── through2-filter@2.0.0 │ ├── vali-date@1.0.0 │ └── vinyl@1.2.0 ├─┬ jsonwebtoken@6.2.0 │ ├─┬ joi@6.10.1 │ │ ├── hoek@2.16.3 │ │ ├── isemail@1.2.0 │ │ └── topo@1.1.0 │ ├─┬ jws@3.1.3 │ │ ├─┬ base64url@1.0.6 │ │ │ ├─┬ concat-stream@1.4.10 │ │ │ │ └── typedarray@0.0.6 │ │ │ └─┬ meow@2.0.0 │ │ │ ├── camelcase-keys@1.0.0 │ │ │ ├─┬ indent-string@1.2.2 │ │ │ │ └── repeating@1.1.3 │ │ │ └── object-assign@1.0.0 │ │ └─┬ jwa@1.1.3 │ │ ├── buffer-equal-constant-time@1.0.1 │ │ └─┬ ecdsa-sig-formatter@1.0.7 │ │ └── base64-url@1.3.2 │ ├── ms@0.7.1 │ └── xtend@4.0.1 ├── lodash@4.14.2 ├─┬ mongodb@2.2.5 │ ├── es6-promise@3.0.2 │ ├─┬ mongodb-core@2.0.7 │ │ ├── bson@0.5.2 │ │ └─┬ require_optional@1.0.0 │ │ └── resolve-from@2.0.0 │ └─┬ readable-stream@1.0.31 │ ├── core-util-is@1.0.2 │ ├── isarray@0.0.1 │ └── string_decoder@0.10.31 ├── reflect-metadata@0.1.8 ├── rxjs@5.0.0-beta.6 ├─┬ socket.io@1.4.8 │ ├─┬ engine.io@1.6.11 │ │ ├─┬ accepts@1.1.4 │ │ │ ├─┬ mime-types@2.0.14 │ │ │ │ └── mime-db@1.12.0 │ │ │ └── negotiator@0.4.9 │ │ ├── base64id@0.1.0 │ │ ├─┬ engine.io-parser@1.2.4 │ │ │ ├── after@0.8.1 │ │ │ ├── arraybuffer.slice@0.0.6 │ │ │ ├── base64-arraybuffer@0.1.2 │ │ │ ├── blob@0.0.4 │ │ │ ├── has-binary@0.1.6 │ │ │ └── utf8@2.1.0 │ │ └─┬ ws@1.1.0 │ │ ├── options@0.0.6 │ │ └── ultron@1.0.2 │ ├── has-binary@0.1.7 │ ├─┬ socket.io-adapter@0.4.0 │ │ └─┬ socket.io-parser@2.2.2 │ │ ├── debug@0.7.4 │ │ └── json3@3.2.6 │ ├─┬ socket.io-client@1.4.8 │ │ ├── backo2@1.0.2 │ │ ├── component-bind@1.0.0 │ │ ├── component-emitter@1.2.0 │ │ ├─┬ engine.io-client@1.6.11 │ │ │ ├── component-inherit@0.0.3 │ │ │ ├── has-cors@1.1.0 │ │ │ ├── parsejson@0.0.1 │ │ │ ├── parseqs@0.0.2 │ │ │ ├── ws@1.0.1 │ │ │ ├── xmlhttprequest-ssl@1.5.1 │ │ │ └── yeast@0.1.2 │ │ ├── indexof@0.0.1 │ │ ├── object-component@0.0.3 │ │ ├─┬ parseuri@0.0.4 │ │ │ └─┬ better-assert@1.0.2 │ │ │ └── callsite@1.0.0 │ │ └── to-array@0.1.4 │ └─┬ socket.io-parser@2.2.6 │ ├── benchmark@1.0.0 │ ├── component-emitter@1.1.2 │ └── json3@3.3.2 ├─┬ systemjs@0.19.27 │ └── when@3.7.7 ├── typescript@1.8.10 ├─┬ typings@0.7.12 │ ├── any-promise@1.3.0 │ ├── bluebird@3.4.1 │ ├─┬ chalk@1.1.3 │ │ ├── ansi-styles@2.2.1 │ │ ├─┬ has-ansi@2.0.0 │ │ │ └── ansi-regex@2.0.0 │ │ ├── strip-ansi@3.0.1 │ │ └── supports-color@2.0.0 │ ├─┬ columnify@1.5.4 │ │ ├─┬ strip-ansi@3.0.1 │ │ │ └── ansi-regex@2.0.0 │ │ └── wcwidth@1.0.1 │ ├── listify@1.0.0 │ ├─┬ typings-core@0.2.16 │ │ ├─┬ configstore@2.0.0 │ │ │ ├─┬ dot-prop@2.4.0 │ │ │ │ └── is-obj@1.0.1 │ │ │ ├── object-assign@4.1.0 │ │ │ ├── os-tmpdir@1.0.1 │ │ │ ├── osenv@0.1.3 │ │ │ ├── uuid@2.0.2 │ │ │ ├─┬ write-file-atomic@1.1.4 │ │ │ │ ├── imurmurhash@0.1.4 │ │ │ │ └── slide@1.1.6 │ │ │ └── xdg-basedir@2.0.0 │ │ ├─┬ detect-indent@4.0.0 │ │ │ └─┬ repeating@2.0.1 │ │ │ └─┬ is-finite@1.0.1 │ │ │ └── number-is-nan@1.0.0 │ │ ├─┬ has@1.0.1 │ │ │ └── function-bind@1.1.0 │ │ ├─┬ invariant@2.2.1 │ │ │ └─┬ loose-envify@1.2.0 │ │ │ └── js-tokens@1.0.3 │ │ ├─┬ is-absolute@0.2.5 │ │ │ ├─┬ is-relative@0.2.1 │ │ │ │ └─┬ is-unc-path@0.1.1 │ │ │ │ └── unc-path-regex@0.1.2 │ │ │ └── is-windows@0.1.1 │ │ ├── lockfile@1.0.1 │ │ ├─┬ make-error-cause@1.2.1 │ │ │ └── make-error@1.2.0 │ │ ├─┬ object.pick@1.1.2 │ │ │ └─┬ isobject@2.1.0 │ │ │ └── isarray@1.0.0 │ │ ├─┬ parse-json@2.2.0 │ │ │ └─┬ error-ex@1.3.0 │ │ │ └── is-arrayish@0.2.1 │ │ ├─┬ popsicle@5.0.1 │ │ │ ├─┬ form-data@0.2.0 │ │ │ │ ├── async@0.9.2 │ │ │ │ ├─┬ combined-stream@0.0.7 │ │ │ │ │ └── delayed-stream@0.0.5 │ │ │ │ └─┬ mime-types@2.0.14 │ │ │ │ └── mime-db@1.12.0 │ │ │ └── tough-cookie@2.3.1 │ │ ├─┬ popsicle-proxy-agent@1.0.0 │ │ │ ├─┬ http-proxy-agent@1.0.0 │ │ │ │ └─┬ agent-base@2.0.1 │ │ │ │ └── semver@5.0.3 │ │ │ └── https-proxy-agent@1.0.0 │ │ ├── popsicle-retry@2.0.0 │ │ ├── popsicle-status@1.0.2 │ │ ├── promise-finally@2.2.1 │ │ ├─┬ rc@1.1.6 │ │ │ ├── deep-extend@0.4.1 │ │ │ ├── ini@1.3.4 │ │ │ └── strip-json-comments@1.0.4 │ │ ├─┬ sort-keys@1.1.2 │ │ │ └── is-plain-obj@1.1.0 │ │ ├── string-template@1.0.0 │ │ ├── thenify@3.2.0 │ │ ├── throat@2.0.2 │ │ ├─┬ touch@1.0.0 │ │ │ └─┬ nopt@1.0.10 │ │ │ └── abbrev@1.0.9 │ │ ├── typescript@1.8.9 │ │ └── zip-object@0.1.0 │ ├─┬ update-notifier@0.6.3 │ │ ├─┬ boxen@0.3.1 │ │ │ ├─┬ chalk@1.1.3 │ │ │ │ ├── ansi-styles@2.2.1 │ │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ ├── strip-ansi@3.0.1 │ │ │ │ └── supports-color@2.0.0 │ │ │ ├── filled-array@1.1.0 │ │ │ ├── object-assign@4.1.0 │ │ │ ├── repeating@2.0.1 │ │ │ ├─┬ string-width@1.0.1 │ │ │ │ ├── code-point-at@1.0.0 │ │ │ │ ├── is-fullwidth-code-point@1.0.0 │ │ │ │ └─┬ strip-ansi@3.0.1 │ │ │ │ └── ansi-regex@2.0.0 │ │ │ └── widest-line@1.0.0 │ │ ├─┬ chalk@1.1.3 │ │ │ ├── ansi-styles@2.2.1 │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ └── ansi-regex@2.0.0 │ │ │ ├── strip-ansi@3.0.1 │ │ │ └── supports-color@2.0.0 │ │ ├── is-npm@1.0.0 │ │ ├─┬ latest-version@2.0.0 │ │ │ └─┬ package-json@2.3.3 │ │ │ ├─┬ got@5.6.0 │ │ │ │ ├─┬ create-error-class@3.0.2 │ │ │ │ │ └── capture-stack-trace@1.0.0 │ │ │ │ ├── duplexer2@0.1.4 │ │ │ │ ├── is-redirect@1.0.0 │ │ │ │ ├── is-retry-allowed@1.1.0 │ │ │ │ ├── lowercase-keys@1.0.0 │ │ │ │ ├── node-status-codes@1.0.0 │ │ │ │ ├── object-assign@4.1.0 │ │ │ │ ├─┬ read-all-stream@3.1.0 │ │ │ │ │ └─┬ readable-stream@2.1.4 │ │ │ │ │ └── isarray@1.0.0 │ │ │ │ ├─┬ readable-stream@2.1.4 │ │ │ │ │ └── isarray@1.0.0 │ │ │ │ ├── timed-out@2.0.0 │ │ │ │ ├── unzip-response@1.0.0 │ │ │ │ └─┬ url-parse-lax@1.0.0 │ │ │ │ └── prepend-http@1.0.4 │ │ │ └── registry-url@3.1.0 │ │ └── semver-diff@2.1.0 │ └── wordwrap@1.0.0 └── zone.js@0.6.12

npm WARN angular2-edge-app@0.0.1 No repository field. DaveCasciottis-MacBook-Pro:angular2-edge-app-2 davidcasciotti$ gulp build-dev [08:59:32] Using gulpfile ~/angular2-edge-app-2/gulpfile.js [08:59:32] Starting 'stylus'... [08:59:32] Finished 'stylus' after 19 ms [08:59:32] Starting 'inject-development'... [08:59:32] Starting 'tsServer'... [08:59:32] Starting 'tsPublic'... [08:59:33] gulp-inject 6 files into index.html. [08:59:33] Finished 'inject-development' after 843 ms index.ts(10,19): error TS2339: Property 'Server' does not exist on type 'typeof "http"'. server/helpers/commonHelpers.ts(2,21): error TS2307: Cannot find module 'co'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(8,14): error TS2300: Duplicate identifier 'PropertyKey'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(11,5): error TS2300: Duplicate identifier 'done'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(12,5): error TS2300: Duplicate identifier 'value'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(250,5): error TS2300: Duplicate identifier 'EPSILON'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(285,5): error TS2300: Duplicate identifier 'MAX_SAFE_INTEGER'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(292,5): error TS2300: Duplicate identifier 'MIN_SAFE_INTEGER'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(348,5): error TS2300: Duplicate identifier 'flags'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(500,5): error TS2300: Duplicate identifier 'prototype'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(563,5): error TS2300: Duplicate identifier 'size'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(572,5): error TS2300: Duplicate identifier 'prototype'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(583,5): error TS2300: Duplicate identifier 'size'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(592,5): error TS2300: Duplicate identifier 'prototype'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(607,5): error TS2300: Duplicate identifier 'prototype'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/es6-shim/index.d.ts(621,5): error TS2300: Duplicate identifier 'prototype'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/express/index.d.ts(17,34): error TS2307: Cannot find module 'serve-static'. /Users/davidcasciotti/angular2-edge-app-2/typings/main/ambient/express/index.d.ts(18,27): error TS2307: Cannot find module 'express-serve-static-core'. lib.d.ts(17,14): error TS2300: Duplicate identifier 'PropertyKey'. lib.d.ts(237,5): error TS2300: Duplicate identifier 'EPSILON'. lib.d.ts(272,5): error TS2300: Duplicate identifier 'MAX_SAFE_INTEGER'. lib.d.ts(279,5): error TS2300: Duplicate identifier 'MIN_SAFE_INTEGER'. lib.d.ts(565,5): error TS2300: Duplicate identifier 'done'. lib.d.ts(566,5): error TS2300: Duplicate identifier 'value'. lib.d.ts(795,5): error TS2300: Duplicate identifier 'flags'. lib.d.ts(823,5): error TS2300: Duplicate identifier 'size'. lib.d.ts(833,5): error TS2300: Duplicate identifier 'prototype'. lib.d.ts(849,5): error TS2300: Duplicate identifier 'prototype'. lib.d.ts(861,5): error TS2300: Duplicate identifier 'size'. lib.d.ts(871,5): error TS2300: Duplicate identifier 'prototype'. lib.d.ts(886,5): error TS2300: Duplicate identifier 'prototype'. lib.d.ts(1282,5): error TS2300: Duplicate identifier 'prototype'. [08:59:37] TypeScript: 32 semantic errors [08:59:37] TypeScript: emit succeeded (with errors) /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/directives/ng_class.d.ts(81,35): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/lang.d.ts(11,17): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/lang.d.ts(68,59): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/common/src/pipes/async_pipe.d.ts(41,38): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/application_ref.d.ts(79,88): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/application_ref.d.ts(137,42): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/application_ref.d.ts(196,33): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(26,16): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/di/reflective_provider.d.ts(115,123): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/di/reflective_provider.d.ts(115,165): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(1,25): error TS2304: Cannot find name 'MapConstructor'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name 'SetConstructor'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(4,27): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(4,39): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(7,9): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(8,30): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(11,43): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(12,27): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(14,23): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(15,25): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(100,41): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(101,22): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/collection.d.ts(102,25): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/lang.d.ts(11,17): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/lang.d.ts(68,59): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/compiler.d.ts(13,59): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/component_resolver.d.ts(9,58): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/component_resolver.d.ts(13,49): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(61,148): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(102,144): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(107,139): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(108,135): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(18,53): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(26,53): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/forms/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/http/src/headers.d.ts(45,59): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/http/src/url_search_params.d.ts(46,16): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser-dynamic/index.d.ts(81,90): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser-dynamic/index.d.ts(85,99): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser-dynamic/index.d.ts(89,99): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/dom/dom_adapter.d.ts(96,42): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/dom/dom_renderer.d.ts(17,37): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(1,25): error TS2304: Cannot find name 'MapConstructor'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name 'SetConstructor'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(4,27): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(4,39): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(7,9): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(8,30): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(11,43): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(12,27): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(14,23): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(15,25): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(100,41): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(101,22): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/collection.d.ts(102,25): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/lang.d.ts(11,17): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Set'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/lang.d.ts(68,59): error TS2304: Cannot find name 'Map'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.d.ts(32,65): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.d.ts(40,56): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/web_workers/shared/service_message_broker.d.ts(35,84): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/platform-browser/src/web_workers/worker/location_providers.d.ts(21,86): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/router/src/router.d.ts(188,43): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/@angular/router/src/router.d.ts(204,59): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/Observable.d.ts(10,66): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/Observable.d.ts(66,60): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/Observable.d.ts(66,70): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/observable/PromiseObservable.d.ts(22,31): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/observable/PromiseObservable.d.ts(23,26): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/operator/toPromise.d.ts(7,59): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/operator/toPromise.d.ts(7,69): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/operator/toPromise.d.ts(9,9): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/operator/toPromise.d.ts(10,26): error TS2304: Cannot find name 'Promise'. /Users/davidcasciotti/angular2-edge-app-2/node_modules/rxjs/operator/toPromise.d.ts(10,36): error TS2304: Cannot find name 'Promise'. public/app/common/services/data.service.ts(19,16): error TS2304: Cannot find name 'Promise'. public/app/common/services/data.service.ts(23,20): error TS2304: Cannot find name 'Promise'. public/app/common/services/data.service.ts(35,20): error TS2304: Cannot find name 'Promise'. public/app/common/services/socket-control.service.ts(6,20): error TS2307: Cannot find module 'lodash'. public/app/common/services/socket-control.service.ts(31,20): error TS2304: Cannot find name 'Promise'. public/app/common/services/socket-control.service.ts(104,20): error TS2304: Cannot find name 'Promise'. public/app/common/services/socket-control.service.ts(117,20): error TS2304: Cannot find name 'Promise'. public/app/common/services/socket-control.service.ts(131,20): error TS2304: Cannot find name 'Promise'. public/app/common/services/socket-control.service.ts(145,20): error TS2304: Cannot find name 'Promise'. public/app/common/services/socket-control.service.ts(159,20): error TS2304: Cannot find name 'Promise'. public/app/pages/dashboard/room/room.component.ts(28,42): error TS2339: Property 'find' does not exist on type 'any[]'. [08:59:42] TypeScript: 135 semantic errors [08:59:42] TypeScript: emit succeeded (with errors) [08:59:42] Finished 'tsServer' after 9.63 s [08:59:42] Finished 'tsPublic' after 9.61 s [08:59:42] Starting 'build-dev'... [08:59:42] Finished 'build-dev' after 11 μs DaveCasciottis-MacBook-Pro:angular2-edge-app-2 davidcasciotti$ npm run server

angular2-edge-app@0.0.1 server /Users/davidcasciotti/angular2-edge-app-2 node index.js

events.js:141 throw er; // Unhandled 'error' event ^

Error: listen EACCES 0.0.0.0:1000 at Object.exports._errnoException (util.js:873:11) at exports._exceptionWithHostPort (util.js:896:20) at Server._listen2 (net.js:1237:19) at listen (net.js:1286:10) at Server.listen (net.js:1382:5) at /Users/davidcasciotti/angular2-edge-app-2/index.js:14:16 at /Users/davidcasciotti/angular2-edge-app-2/server/config/mongo.js:13:9 at /Users/davidcasciotti/angular2-edge-app-2/node_modules/mongodb/lib/db.js:233:5 at connectHandler (/Users/davidcasciotti/angular2-edge-app-2/node_modules/mongodb/lib/server.js:331:7) at g (events.js:260:16)

npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/share/npm/bin/npm" "run" "server" npm ERR! node v4.4.7 npm ERR! npm v3.7.5 npm ERR! code ELIFECYCLE npm ERR! angular2-edge-app@0.0.1 server: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular2-edge-app@0.0.1 server script 'node index.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular2-edge-app package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node index.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular2-edge-app npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls angular2-edge-app npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/davidcasciotti/angular2-edge-app-2/npm-debug.log DaveCasciottis-MacBook-Pro:angular2-edge-app-2 davidcasciotti$

sinchi commented 7 years ago

npm run server exited with code 0