angular2-edge-app icon indicating copy to clipboard operation
angular2-edge-app copied to clipboard

npm run server error

Open dcasciotti opened this issue 7 years ago • 6 comments

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! [email protected] server: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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 avatar Aug 08 '16 14:08 dcasciotti

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.

flauc avatar Aug 08 '16 18:08 flauc

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

[email protected] start /Users/davidcasciotti/angular2-edge-app-master concurrently "npm run server" "npm run db"

[1] [1] > [email protected] db /Users/davidcasciotti/angular2-edge-app-master [1] > mongod [1] [0] [0] > [email protected] 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! [email protected] db: mongod [1] npm ERR! Exit status 48 [1] npm ERR! [1] npm ERR! Failed at the [email protected] 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! [email protected] server: node index.js [0] npm ERR! Exit status 1 [0] npm ERR! [0] npm ERR! Failed at the [email protected] 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

dcasciotti avatar Aug 10 '16 11:08 dcasciotti

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

flauc avatar Aug 10 '16 12:08 flauc

I just ran npm run server and got this:

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

[email protected] 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! [email protected] server: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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 avatar Aug 10 '16 12:08 dcasciotti

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 [email protected]: 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 [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. npm WARN deprecated [email protected]: 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.

[email protected] 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)

[email protected] /Users/davidcasciotti/angular2-edge-app-2 ├── @angular/[email protected] ├── @angular/[email protected] ├── @angular/[email protected] ├── @angular/[email protected] ├── @angular/[email protected] ├── @angular/[email protected] ├── @angular/[email protected] ├── @angular/[email protected] ├── @angular/[email protected] ├── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ └─┬ [email protected] │ ├── [email protected] │ └─┬ [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ └─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ ├─┬ [email protected] │ │ │ │ │ │ └─┬ [email protected] │ │ │ │ │ │ ├── [email protected] │ │ │ │ │ │ ├── [email protected] │ │ │ │ │ │ └── [email protected] │ │ │ │ │ ├── [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ ├─┬ [email protected] │ │ │ │ │ │ └── [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ ├── [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └── [email protected] │ │ │ └─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ └─┬ [email protected] │ │ │ ├── [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ └─┬ [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ └─┬ [email protected] │ │ └─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ └─┬ [email protected] │ └── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ └─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ └─┬ [email protected] │ └── [email protected] ├─┬ [email protected] │ ├── [email protected] │ └─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ └─┬ [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └─┬ [email protected] │ │ └── [email protected] │ └─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ └── [email protected] ├── [email protected] ├── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ └─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ ├─┬ [email protected] │ │ │ ├── [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ ├── [email protected] │ │ │ └── [email protected] │ │ ├── [email protected] │ │ ├─┬ [email protected] │ │ │ └─┬ [email protected] │ │ │ ├─┬ [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├─┬ [email protected] │ │ │ │ │ └── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ ├── [email protected] │ │ │ │ └─┬ [email protected] │ │ │ │ └── [email protected] │ │ │ └── [email protected] │ │ └── [email protected] │ └── [email protected] └── [email protected]

npm WARN [email protected] 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

[email protected] 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! [email protected] server: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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$

dcasciotti avatar Aug 10 '16 13:08 dcasciotti

npm run server exited with code 0

sinchi avatar Apr 21 '17 14:04 sinchi