gulp print errors
See original GitHub issueI create an app as following š
? What is the name of your app? fullstack ? What is your username on Github? some-username-here ? What stack do you want? Full, client or server? fullstack ? What do you want in server side? node ? What do you want in client side? ng2 ? What transpiler do you want to use in server side? typescript ? Do you want a secure app (http/2)? No ? Do you want to use a different static server? Such as nginx, apache, IIS? No
And then run npm run dev
or just run gulp
:
npm run dev
fullstack@0.0.1 dev /Users/mai/Develop/learn/web/angular2/fullstack tsc && concurrently ānpm startā āgulpā
node_modules/@angular/core/src/application_ref.d.ts(79,88): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/application_ref.d.ts(137,42): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/application_ref.d.ts(196,33): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(26,16): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/di/reflective_provider.d.ts(115,123): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/di/reflective_provider.d.ts(115,165): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/async.d.ts(34,33): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/async.d.ts(35,45): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/collection.d.ts(1,25): error TS2304: Cannot find name āMapConstructorā. node_modules/@angular/core/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name āSetConstructorā. node_modules/@angular/core/src/facade/collection.d.ts(4,27): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(4,39): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(7,9): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(8,30): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(11,43): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(12,27): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(14,23): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(15,25): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/collection.d.ts(100,41): error TS2304: Cannot find name āSetā. node_modules/@angular/core/src/facade/collection.d.ts(101,22): error TS2304: Cannot find name āSetā. node_modules/@angular/core/src/facade/collection.d.ts(102,25): error TS2304: Cannot find name āSetā. node_modules/@angular/core/src/facade/lang.d.ts(11,17): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name āSetā. node_modules/@angular/core/src/facade/lang.d.ts(68,59): error TS2304: Cannot find name āMapā. node_modules/@angular/core/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/compiler.d.ts(13,59): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/component_resolver.d.ts(9,58): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/component_resolver.d.ts(13,49): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(61,148): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(102,144): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(107,139): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(108,135): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(18,53): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(26,53): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/testing/component_fixture.d.ts(77,19): error TS2304: Cannot find name āPromiseā. node_modules/@angular/core/testing/test_component_builder.d.ts(74,57): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/async.d.ts(34,33): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/async.d.ts(35,45): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(9,14): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(15,32): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(16,38): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(17,35): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(17,93): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(18,34): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(18,50): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(19,32): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(19,149): error TS2304: Cannot find name āPromiseā. node_modules/@angular/forms/src/facade/promise.d.ts(20,43): error TS2304: Cannot find name āPromiseā. node_modules/@angular/http/src/headers.d.ts(45,59): error TS2304: Cannot find name āMapā. node_modules/@angular/http/src/url_search_params.d.ts(46,16): error TS2304: Cannot find name āMapā. node_modules/@angular/platform-browser-dynamic/index.d.ts(81,90): error TS2304: Cannot find name āPromiseā. node_modules/@angular/platform-browser-dynamic/index.d.ts(85,99): error TS2304: Cannot find name āPromiseā. node_modules/@angular/platform-browser-dynamic/index.d.ts(89,99): error TS2304: Cannot find name āPromiseā. node_modules/rxjs/Observable.d.ts(10,66): error TS2304: Cannot find name āPromiseā. node_modules/rxjs/Observable.d.ts(66,60): error TS2304: Cannot find name āPromiseā. node_modules/rxjs/Observable.d.ts(66,70): error TS2304: Cannot find name āPromiseā. server/api/todo/controller/todo-controller.ts(1,26): error TS2307: Cannot find module āexpressā. server/api/todo/dao/todo-dao.ts(1,27): error TS2307: Cannot find module āmongooseā. server/api/todo/dao/todo-dao.ts(2,26): error TS2307: Cannot find module ābluebirdā. server/api/todo/dao/todo-dao.ts(3,20): error TS2307: Cannot find module ālodashā. server/api/todo/model/todo-model.ts(1,27): error TS2307: Cannot find module āmongooseā. server/api/todo/routes/todo-routes.ts(3,26): error TS2307: Cannot find module āexpressā. server/commons/static/index.ts(3,26): error TS2307: Cannot find module āexpressā. server/commons/static/index.ts(4,21): error TS2307: Cannot find module āfsā. server/commons/static/index.ts(8,19): error TS2304: Cannot find name āprocessā. server/config/db.conf.ts(3,27): error TS2307: Cannot find module āmongooseā. server/config/db.conf.ts(4,15): error TS2304: Cannot find name ārequireā. server/config/db.conf.ts(8,20): error TS2304: Cannot find name āprocessā. server/config/db.conf.ts(8,61): error TS2304: Cannot find name āprocessā. server/config/routes.conf.ts(3,26): error TS2307: Cannot find module āexpressā. server/config/routes.conf.ts(4,25): error TS2307: Cannot find module āmorganā. server/config/routes.conf.ts(5,29): error TS2307: Cannot find module ābody-parserā. server/config/routes.conf.ts(6,25): error TS2307: Cannot find module āhelmetā. server/config/routes.conf.ts(10,21): error TS2304: Cannot find name āprocessā. server/config/routes.conf.ts(12,29): error TS2304: Cannot find name āprocessā. server/routes/index.ts(1,26): error TS2307: Cannot find module āexpressā. server/server.ts(1,1): error TS6053: File ātypings/index.d.tsā not found. server/server.ts(5,22): error TS2304: Cannot find name āprocessā. server/server.ts(6,5): error TS2304: Cannot find name ārequireā. server/server.ts(8,12): error TS2304: Cannot find name āprocessā. server/server.ts(10,26): error TS2307: Cannot find module āexpressā. server/server.ts(11,21): error TS2307: Cannot find module āosā. server/server.ts(12,23): error TS2307: Cannot find module āhttpā. server/server.ts(26,34): error TS2304: Cannot find name āprocessā. tests/client/todo/components/todo-cmp_test.ts(1,1): error TS6053: File ātypings/index.d.tsā not found. tests/client/todo/components/todo-cmp_test.ts(62,9): error TS2304: Cannot find name āspyOnā. tests/client/todo/services/todo-service_test.ts(1,1): error TS6053: File ātypings/index.d.tsā not found.
npm ERR! Darwin 15.0.0
npm ERR! argv ā/usr/local/bin/nodeā ā/usr/local/bin/npmā ārunā ādevā
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! fullstack@0.0.1 dev: tsc && concurrently "npm start" "gulp"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the fullstack@0.0.1 dev script ātsc && concurrently ānpm startā āgulpāā.
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 fullstack package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc && concurrently ānpm startā āgulpā
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs fullstack
npm ERR! Or if that isnāt available, you can get their info via:
npm ERR! npm owner ls fullstack
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /Users/mai/Develop/learn/web/angular2/fullstack/npm-debug.log
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
Hello, @maimake.
Make sure you run
typings install
before runningnpm run dev
- thereās a topic in the wiki about it.Released 1.8.16 š