Coder Social home page Coder Social logo

flauc / angular2-edge-app Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 11.0 333 KB

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.

JavaScript 4.11% TypeScript 56.77% CSS 25.96% HTML 13.16%

angular2-edge-app's People

Contributors

flauc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular2-edge-app's Issues

npm run server error

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

errors when 'gulp build-dev'

$ gulp build-dev
[16:06:48] Using gulpfile ~/angular2-edge-app/gulpfile.js
[16:06:48] Starting 'stylus'...
[16:06:48] Finished 'stylus' after 12 ms
[16:06:48] Starting 'inject-development'...
[16:06:48] Starting 'tsServer'...
[16:06:48] Starting 'tsPublic'...
[16:06:48] gulp-inject 5 files into index.html.
[16:06:48] Finished 'inject-development' after 551 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/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(8,14): error TS2300: Duplicate identifier 'PropertyKey'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(11,5): error TS2300: Duplicate identifier 'done'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(12,5): error TS2300: Duplicate identifier 'value'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(250,5): error TS2300: Duplicate identifier 'EPSILON'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(285,5): error TS2300: Duplicate identifier 'MAX_SAFE_INTEGER'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(292,5): error TS2300: Duplicate identifier 'MIN_SAFE_INTEGER'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(348,5): error TS2300: Duplicate identifier 'flags'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(500,5): error TS2300: Duplicate identifier 'prototype'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(563,5): error TS2300: Duplicate identifier 'size'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(572,5): error TS2300: Duplicate identifier 'prototype'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(583,5): error TS2300: Duplicate identifier 'size'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(592,5): error TS2300: Duplicate identifier 'prototype'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(607,5): error TS2300: Duplicate identifier 'prototype'.
/Users/wxb/angular2-edge-app/typings/main/ambient/es6-shim/index.d.ts(621,5): error TS2300: Duplicate identifier 'prototype'.
/Users/wxb/angular2-edge-app/typings/main/ambient/express/index.d.ts(17,34): error TS2307: Cannot find module 'serve-static'.
/Users/wxb/angular2-edge-app/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'.
[16:06:51] TypeScript: 32 semantic errors
[16:06:51] TypeScript: emit succeeded (with errors)
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/directives/ng_class.d.ts(81,35): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/lang.d.ts(11,17): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/lang.d.ts(68,59): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/common/src/pipes/async_pipe.d.ts(41,38): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/application_ref.d.ts(79,88): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/application_ref.d.ts(137,42): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/application_ref.d.ts(196,33): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(26,16): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/di/reflective_provider.d.ts(115,123): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/di/reflective_provider.d.ts(115,165): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(1,25): error TS2304: Cannot find name 'MapConstructor'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name 'SetConstructor'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(4,27): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(4,39): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(7,9): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(8,30): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(11,43): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(12,27): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(14,23): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(15,25): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(100,41): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(101,22): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/collection.d.ts(102,25): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/lang.d.ts(11,17): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/lang.d.ts(68,59): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/compiler.d.ts(13,59): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/component_resolver.d.ts(9,58): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/component_resolver.d.ts(13,49): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(61,148): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(102,144): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(107,139): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(108,135): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(18,53): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(26,53): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/forms/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/http/src/headers.d.ts(45,59): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/http/src/url_search_params.d.ts(46,16): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser-dynamic/index.d.ts(81,90): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser-dynamic/index.d.ts(85,99): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser-dynamic/index.d.ts(89,99): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/dom/dom_adapter.d.ts(96,42): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/dom/dom_renderer.d.ts(17,37): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/async.d.ts(34,33): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/async.d.ts(35,45): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(1,25): error TS2304: Cannot find name 'MapConstructor'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name 'SetConstructor'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(4,27): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(4,39): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(7,9): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(8,30): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(11,43): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(12,27): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(14,23): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(15,25): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(100,41): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(101,22): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/collection.d.ts(102,25): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/lang.d.ts(11,17): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Set'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/lang.d.ts(68,59): error TS2304: Cannot find name 'Map'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.d.ts(32,65): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/web_workers/shared/client_message_broker.d.ts(40,56): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/web_workers/shared/service_message_broker.d.ts(35,84): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/platform-browser/src/web_workers/worker/location_providers.d.ts(21,86): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/router/src/router.d.ts(188,43): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/@angular/router/src/router.d.ts(204,59): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/Observable.d.ts(10,66): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/Observable.d.ts(66,60): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/Observable.d.ts(66,70): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/observable/PromiseObservable.d.ts(22,31): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/observable/PromiseObservable.d.ts(23,26): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/operator/toPromise.d.ts(7,59): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/operator/toPromise.d.ts(7,69): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/operator/toPromise.d.ts(9,9): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/node_modules/rxjs/operator/toPromise.d.ts(10,26): error TS2304: Cannot find name 'Promise'.
/Users/wxb/angular2-edge-app/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[]'.
[16:06:54] TypeScript: 135 semantic errors
[16:06:54] TypeScript: emit succeeded (with errors)
[16:06:54] Finished 'tsServer' after 5.92 s
[16:06:54] Finished 'tsPublic' after 5.91 s
[16:06:54] Starting 'build-dev'...
[16:06:54] Finished 'build-dev' after 21 μs

gulp build-dev error

Hi,
i received this error when running the gulp build-dev command in terminal.
Thank you for your consideration of this matter.
Dave casciotti

/Users/davidcasciotti/angular2-edge-app/gulpfile.js:50
gulp.task('move-vendorJs', ()=> {
^
SyntaxError: Unexpected token )
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Liftoff.handleArguments (/usr/local/share/npm/lib/node_modules/gulp/bin/gulp.js:116:3)
at Liftoff. (/usr/local/share/npm/lib/node_modules/gulp/node_modules/liftoff/index.js:181:16)
at module.exports (/usr/local/share/npm/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
at Liftoff. (/usr/local/share/npm/lib/node_modules/gulp/node_modules/liftoff/index.js:174:9)

socket-control.service.ts causing issues

When I run npm run build I get the following error,

[0] Finished 'stylus' after 15 ms [0] npm run stylus exited with code 0 [1] public/app/common/services/socket-control.service.ts(9,13): error TS1003: Identifier expected. [1] public/app/common/services/socket-control.service.ts(9,18): error TS1005: ';' expected. [1] public/app/common/services/socket-control.service.ts(9,23): error TS1005: ';' expected.

Any idea what I need to do?

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.