Closed Marsovski closed 8 years ago
Webpack does not compile, its just for development.
Compilation of the package is done using tsc, by the way you can use the NPM package.
What is the use case here?
Tried to reproduce but failed, can you provide more details?
Following instruction:
git clone https://github.com/shlomiassaf/angular2-modal.git
cd angular2-modal/
npm install
typings install
webpack-dev-server
Terminal:
marsovski@milos /var/www/dev $ git clone https://github.com/shlomiassaf/angular2-modal.git
Cloning into 'angular2-modal'...
remote: Counting objects: 350, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 350 (delta 0), reused 0 (delta 0), pack-reused 340
Receiving objects: 100% (350/350), 6.36 MiB | 2.83 MiB/s, done.
Resolving deltas: 100% (143/143), done.
Checking connectivity... done.
marsovski@milos /var/www/dev $ cd angular2-modal/
marsovski@milos /var/www/dev/angular2-modal $ npm install
> angular2-modal@0.0.2 prepublish /var/www/dev/angular2-modal
> tsc --project publish
node_modules/angular2/src/facade/async.d.ts(3,28): error TS2307: Cannot find module 'rxjs/Observable'.
node_modules/angular2/src/facade/async.d.ts(4,25): error TS2307: Cannot find module 'rxjs/Subject'.
node_modules/angular2/src/facade/async.d.ts(5,28): error TS2307: Cannot find module 'rxjs/Observable'.
node_modules/angular2/src/facade/async.d.ts(6,25): error TS2307: Cannot find module 'rxjs/Subject'.
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.6
npm WARN angular2@2.0.0-beta.1 requires a peer of es6-promise@^3.0.2 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of es6-shim@^0.33.3 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of reflect-metadata@0.1.2 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of rxjs@5.0.0-beta.0 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of zone.js@0.5.10 but none was installed.
npm ERR! Linux 3.16.0-38-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.0.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! angular2-modal@0.0.2 prepublish: `tsc --project publish`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the angular2-modal@0.0.2 prepublish script 'tsc --project publish'.
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-modal package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc --project publish
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular2-modal
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular2-modal
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/dev/angular2-modal/npm-debug.log
marsovski@milos /var/www/dev/angular2-modal $ typings install
├── es6-promise
├── es6-shim (ambient)
├── node (ambient)
└── zone (ambient)
marsovski@milos /var/www/dev/angular2-modal $ webpack-dev-server
http://localhost:8080/webpack-dev-server/
webpack result is served from /build
content is served from /var/www/dev/angular2-modal
404s will fallback to /index.html
ts-loader: Using typescript@1.7.5 and /var/www/dev/angular2-modal/tsconfig.json
Open http://localhost:8080/webpack-dev-server/ in browser and:
Errors while compiling. App updated with errors. No reload!
/var/www/dev/angular2-modal/node_modules/angular2/src/http/http.d.ts
(5,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/http/backends/jsonp_backend.d.ts
(7,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/http/backends/xhr_backend.d.ts
(7,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(3,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(4,25): error TS2307: Cannot find module 'rxjs/Subject'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(5,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(6,25): error TS2307: Cannot find module 'rxjs/Subject'.
./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/Subject' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
resolve module rxjs/Subject in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
looking for modules in /var/www/dev/angular2-modal/node_modules
/var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory)
[/var/www/dev/angular2-modal/node_modules/rxjs]
@ ./~/angular2/src/facade/async.js 10:16-39 15:16-39
./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/observable/fromPromise' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
resolve module rxjs/observable/fromPromise in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
looking for modules in /var/www/dev/angular2-modal/node_modules
/var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory)
[/var/www/dev/angular2-modal/node_modules/rxjs]
@ ./~/angular2/src/facade/async.js 11:20-58
./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/operator/toPromise' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
resolve module rxjs/operator/toPromise in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
looking for modules in /var/www/dev/angular2-modal/node_modules
/var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory)
[/var/www/dev/angular2-modal/node_modules/rxjs]
@ ./~/angular2/src/facade/async.js 12:18-52
./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/Observable' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
resolve module rxjs/Observable in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
looking for modules in /var/www/dev/angular2-modal/node_modules
/var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory)
[/var/www/dev/angular2-modal/node_modules/rxjs]
@ ./~/angular2/src/facade/async.js 13:19-45
Terminal:
http://localhost:8080/webpack-dev-server/
webpack result is served from /build
content is served from /var/www/dev/angular2-modal
404s will fallback to /index.html
ts-loader: Using typescript@1.7.5 and /var/www/dev/angular2-modal/tsconfig.json
Hash: 6d8cf674a0b710ac1deb
Version: webpack 1.12.11
Time: 5730ms
Asset Size Chunks Chunk Names
app.js 30 kB 1 [emitted] app
f4769f9bdb7466be65088239c12046d1.eot 20.1 kB [emitted]
fa2772327f55d8198301fdb8bcfc8158.woff 23.4 kB [emitted]
e18bbf611f2a2e43afc071aa2f4e1512.ttf 45.4 kB [emitted]
89889688147bd7575d6327160d64e760.svg 109 kB [emitted]
angular2-modal.js 18.9 kB 0 [emitted] angular2-modal
448c34a56d699c29117adc64c43affeb.woff2 18 kB [emitted]
vendor.js 287 kB 2 [emitted] vendor
common.js 4.48 MB 3 [emitted] common
angular2-modal.map 28.4 kB 0 [emitted] angular2-modal
app.map 43.8 kB 1 [emitted] app
vendor.map 356 kB 2 [emitted] vendor
common.map 4.76 MB 3 [emitted] common
chunk {0} angular2-modal.js, angular2-modal.map (angular2-modal) 18.1 kB {2} [rendered]
[0] ./src/angular2-modal/angular2-modal.ts 480 bytes {0} [built]
[1] ./src/angular2-modal/models/ICustomModal.ts 138 bytes {0} {1} [built]
[2] ./src/angular2-modal/models/ModalConfig.ts 2.19 kB {0} {1} [built]
[96] ./src/angular2-modal/models/ModalDialogInstance.ts 1.74 kB {0} {1} [built]
[97] ./src/angular2-modal/components/modalBackdrop.ts 2.04 kB {0} {1} [built]
[98] ./src/angular2-modal/components/bootstrapModalContainer.ts 2.75 kB {0} {1} [built]
[99] ./src/angular2-modal/providers/Modal.ts 3.76 kB {0} {1} [built]
[100] ./src/angular2-modal/commonModals/yesNoModal.ts 2.76 kB {0} {1} [built]
[144] ./src/angular2-modal/commonModals/okOnlyModal.ts 2.22 kB {0} [built]
chunk {1} app.js, app.map (app) 28.9 kB {3} [rendered]
[0] ./src/demo/bootstrap.ts 678 bytes {1} [built]
[1] ./src/angular2-modal/models/ICustomModal.ts 138 bytes {0} {1} [built]
[2] ./src/angular2-modal/models/ModalConfig.ts 2.19 kB {0} {1} [built]
[96] ./src/angular2-modal/models/ModalDialogInstance.ts 1.74 kB {0} {1} [built]
[97] ./src/angular2-modal/components/modalBackdrop.ts 2.04 kB {0} {1} [built]
[98] ./src/angular2-modal/components/bootstrapModalContainer.ts 2.75 kB {0} {1} [built]
[99] ./src/angular2-modal/providers/Modal.ts 3.76 kB {0} {1} [built]
[100] ./src/angular2-modal/commonModals/yesNoModal.ts 2.76 kB {0} {1} [built]
[232] ./src/demo/app/app.ts 1.54 kB {1} [built]
[233] ./src/demo/app/demoPage/demoPage.ts 4.47 kB {1} [built] [1 warning]
[234] ./src/demo/app/customModalDemo/customModal.ts 3.67 kB {1} [built]
[235] ./src/demo/app/sampleElement/sampleElement.ts 1.66 kB {1} [built]
[236] ./src/demo/app/demoPage/demoPage.css 115 bytes {1} [built]
[237] ./src/demo/app/demoPage/demoPage.tpl.html 1.38 kB {1} [built]
chunk {2} vendor.js, vendor.map (vendor) 283 kB {3} [rendered]
[0] ./src/demo/vendor.ts 238 bytes {2} [built]
[238] ./~/angular2/bundles/angular2-polyfills.js 118 kB {2} [built]
[239] ./~/style-loader!./~/css-loader!./~/bootstrap/dist/css/bootstrap.css 891 bytes {2} [built]
[240] ./~/css-loader!./~/bootstrap/dist/css/bootstrap.css 154 kB {2} [built]
[241] ./~/css-loader/lib/css-base.js 1.51 kB {2} [built]
[242] ./~/bootstrap/dist/fonts/glyphicons-halflings-regular.eot 82 bytes {2} [built]
[243] ./~/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 84 bytes {2} [built]
[244] ./~/bootstrap/dist/fonts/glyphicons-halflings-regular.woff 83 bytes {2} [built]
[245] ./~/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf 82 bytes {2} [built]
[246] ./~/bootstrap/dist/fonts/glyphicons-halflings-regular.svg 82 bytes {2} [built]
[247] ./~/style-loader/addStyles.js 7.21 kB {2} [built]
chunk {3} common.js, common.map (common) 4.44 MB [rendered]
[3] ./~/angular2/core.js 4.54 kB {3} [built]
[4] ./~/angular2/src/core/metadata.js 82.6 kB {3} [built]
[5] ./~/angular2/src/core/metadata/di.js 32.1 kB {3} [built]
[6] ./~/angular2/src/facade/lang.js 53.2 kB {3} [built]
[7] ./~/angular2/src/core/di.js 4.34 kB {3} [built]
[8] ./~/angular2/src/core/di/metadata.js 20.5 kB {3} [built]
[9] ./~/angular2/src/core/di/decorators.js 4.24 kB {3} [built]
[10] ./~/angular2/src/core/util/decorators.js 32.5 kB {3} [built]
[11] ./~/angular2/src/core/di/forward_ref.js 4.78 kB {3} [built]
[12] ./~/angular2/src/core/di/injector.js 128 kB {3} [built]
[13] ./~/angular2/src/facade/collection.js 45.7 kB {3} [built]
[14] ./~/angular2/src/core/di/provider.js 64.9 kB {3} [built]
[15] ./~/angular2/src/facade/exceptions.js 7.99 kB {3} [built]
[16] ./~/angular2/src/facade/exception_handler.js 18.3 kB {3} [built]
[17] ./~/angular2/src/core/reflection/reflection.js 1.57 kB {3} [built]
[18] ./~/angular2/src/core/reflection/reflector.js 22.2 kB {3} [built]
[19] ./~/angular2/src/core/reflection/reflection_capabilities.js 35.3 kB {3} [built]
[20] ./~/angular2/src/core/di/key.js 8.43 kB {3} [built]
[21] ./~/angular2/src/core/di/type_literal.js 1.38 kB {3} [built]
[22] ./~/angular2/src/core/di/exceptions.js 29.8 kB {3} [built]
[23] ./~/angular2/src/core/di/opaque_token.js 3.83 kB {3} [built]
[24] ./~/angular2/src/core/metadata/directives.js 84.6 kB {3} [built]
[25] ./~/angular2/src/core/change_detection.js 1.83 kB {3} [built]
[26] ./~/angular2/src/core/change_detection/change_detection.js 8.63 kB {3} [built]
[27] ./~/angular2/src/core/change_detection/differs/iterable_differs.js 10.8 kB {3} [built]
[28] ./~/angular2/src/core/change_detection/differs/default_iterable_differ.js 81.3 kB {3} [built]
[29] ./~/angular2/src/core/change_detection/differs/keyvalue_differs.js 10.5 kB {3} [built]
[30] ./~/angular2/src/core/change_detection/differs/default_keyvalue_differ.js 48 kB {3} [built]
[31] ./~/angular2/src/core/change_detection/parser/ast.js 55 kB {3} [built]
[32] ./~/angular2/src/core/change_detection/parser/lexer.js 59.3 kB {3} [built]
[33] ./~/angular2/src/core/change_detection/parser/parser.js 97.6 kB {3} [built]
[34] ./~/angular2/src/core/change_detection/parser/locals.js 5.74 kB {3} [built]
[35] ./~/angular2/src/core/change_detection/exceptions.js 11.6 kB {3} [built]
[36] ./~/angular2/src/core/change_detection/interfaces.js 6.17 kB {3} [built]
[37] ./~/angular2/src/core/change_detection/constants.js 9.2 kB {3} [built]
[38] ./~/angular2/src/core/change_detection/proto_change_detector.js 78.2 kB {3} [built]
[39] ./~/angular2/src/core/change_detection/change_detection_util.js 35.3 kB {3} [built]
[40] ./~/angular2/src/core/change_detection/pipe_lifecycle_reflector.js 800 bytes {3} [built]
[41] ./~/angular2/src/core/change_detection/binding_record.js 25.4 kB {3} [built]
[42] ./~/angular2/src/core/change_detection/directive_record.js 7.23 kB {3} [built]
[43] ./~/angular2/src/core/change_detection/dynamic_change_detector.js 75.7 kB {3} [built]
[44] ./~/angular2/src/core/change_detection/abstract_change_detector.js 54.1 kB {3} [built]
[45] ./~/angular2/src/core/change_detection/change_detector_ref.js 11.4 kB {3} [built]
[46] ./~/angular2/src/core/profile/profile.js 8.08 kB {3} [built]
[47] ./~/angular2/src/core/profile/wtf_impl.js 4.31 kB {3} [built]
[48] ./~/angular2/src/core/change_detection/observable_facade.js 611 bytes {3} [built]
[49] ./~/angular2/src/core/change_detection/proto_record.js 9.82 kB {3} [built]
[50] ./~/angular2/src/facade/async.js 21.4 kB {3} [built] [4 errors]
[51] ./~/angular2/src/facade/promise.js 7.21 kB {3} [built]
[52] ./~/angular2/src/core/change_detection/event_binding.js 1.37 kB {3} [built]
[53] ./~/angular2/src/core/change_detection/coalesce.js 24.8 kB {3} [built]
[54] ./~/angular2/src/core/change_detection/jit_proto_change_detector.js 3.34 kB {3} [built]
[55] ./~/angular2/src/core/change_detection/change_detection_jit_generator.js 70.5 kB {3} [built]
[56] ./~/angular2/src/core/change_detection/codegen_name_util.js 30.1 kB {3} [built]
[57] ./~/angular2/src/core/change_detection/codegen_logic_util.js 39.1 kB {3} [built]
[58] ./~/angular2/src/core/change_detection/codegen_facade.js 2.15 kB {3} [built]
[59] ./~/angular2/src/core/metadata/view.js 10.7 kB {3} [built]
[60] ./~/angular2/src/core/util.js 546 bytes {3} [built]
[61] ./~/angular2/src/core/prod_mode.js 479 bytes {3} [built]
[62] ./~/angular2/src/facade/facade.js 1.14 kB {3} [built]
[63] ./~/angular2/src/core/application_ref.js 58.7 kB {3} [built]
[64] ./~/angular2/src/core/zone/ng_zone.js 52.3 kB {3} [built]
[65] ./~/angular2/src/core/application_tokens.js 6.65 kB {3} [built]
[66] ./~/angular2/src/core/testability/testability.js 18.5 kB {3} [built]
[67] ./~/angular2/src/core/linker/dynamic_component_loader.js 25 kB {3} [built]
[68] ./~/angular2/src/core/linker/compiler.js 6.78 kB {3} [built]
[69] ./~/angular2/src/core/linker/view.js 48.1 kB {3} [built]
[70] ./~/angular2/src/core/linker/element.js 142 kB {3} [built]
[71] ./~/angular2/src/core/linker/view_type.js 1.61 kB {3} [built]
[72] ./~/angular2/src/core/linker/element_ref.js 5.81 kB {3} [built]
[73] ./~/angular2/src/core/linker/view_container_ref.js 20.4 kB {3} [built]
[74] ./~/angular2/src/core/render/api.js 5.67 kB {3} [built]
[75] ./~/angular2/src/core/linker/template_ref.js 4.44 kB {3} [built]
[76] ./~/angular2/src/core/linker/query_list.js 8.98 kB {3} [built]
[77] ./~/angular2/src/core/pipes/pipe_provider.js 3.55 kB {3} [built]
[78] ./~/angular2/src/core/linker/view_ref.js 14.4 kB {3} [built]
[79] ./~/angular2/src/core/pipes/pipes.js 6.73 kB {3} [built]
[80] ./~/angular2/src/core/change_detection/pipes.js 1.03 kB {3} [built]
[81] ./~/angular2/src/core/render/util.js 2.38 kB {3} [built]
[82] ./~/angular2/src/core/linker/view_manager.js 44.1 kB {3} [built]
[83] ./~/angular2/src/core/linker/view_listener.js 2.44 kB {3} [built]
[84] ./~/angular2/src/core/console.js 2.08 kB {3} [built]
[85] ./~/angular2/src/core/zone.js 621 bytes {3} [built]
[86] ./~/angular2/src/core/render.js 677 bytes {3} [built]
[87] ./~/angular2/src/core/linker.js 3.5 kB {3} [built]
[88] ./~/angular2/src/core/linker/directive_resolver.js 19.6 kB {3} [built]
[89] ./~/angular2/src/core/linker/view_resolver.js 15.2 kB {3} [built]
[90] ./~/angular2/src/core/debug/debug_element.js 27.7 kB {3} [built]
[91] ./~/angular2/src/core/platform_directives_and_pipes.js 4.26 kB {3} [built]
[92] ./~/angular2/src/core/platform_common_providers.js 2.37 kB {3} [built]
[93] ./~/angular2/src/core/application_common_providers.js 5.82 kB {3} [built]
[94] ./~/angular2/src/core/linker/resolved_metadata_cache.js 6.87 kB {3} [built]
[95] ./~/angular2/src/core/linker/pipe_resolver.js 5.24 kB {3} [built]
[101] ./~/angular2/common.js 892 bytes {3} [built]
[102] ./~/angular2/src/common/pipes.js 4.95 kB {3} [built]
[103] ./~/angular2/src/common/pipes/async_pipe.js 16.6 kB {3} [built]
[104] ./~/angular2/src/common/pipes/invalid_pipe_argument_exception.js 2.05 kB {3} [built]
[105] ./~/angular2/src/common/pipes/uppercase_pipe.js 4.11 kB {3} [built]
[106] ./~/angular2/src/common/pipes/lowercase_pipe.js 4.08 kB {3} [built]
[107] ./~/angular2/src/common/pipes/json_pipe.js 3.16 kB {3} [built]
[108] ./~/angular2/src/common/pipes/slice_pipe.js 10.2 kB {3} [built]
[109] ./~/angular2/src/common/pipes/date_pipe.js 16.2 kB {3} [built]
[110] ./~/angular2/src/facade/intl.js 15.1 kB {3} [built]
[111] ./~/angular2/src/common/pipes/number_pipe.js 20.6 kB {3} [built]
[112] ./~/angular2/src/common/directives.js 2.17 kB {3} [built]
[113] ./~/angular2/src/common/directives/ng_class.js 23.6 kB {3} [built]
[114] ./~/angular2/src/common/directives/ng_for.js 23.3 kB {3} [built]
[115] ./~/angular2/src/common/directives/ng_if.js 6.34 kB {3} [built]
[116] ./~/angular2/src/common/directives/ng_style.js 11.4 kB {3} [built]
[117] ./~/angular2/src/common/directives/ng_switch.js 25.9 kB {3} [built]
[118] ./~/angular2/src/common/directives/observable_list_diff.js 820 bytes {3} [built]
[119] ./~/angular2/src/common/directives/core_directives.js 4.5 kB {3} [built]
[120] ./~/angular2/src/common/forms.js 7.51 kB {3} [built]
[121] ./~/angular2/src/common/forms/model.js 62.7 kB {3} [built]
[122] ./~/angular2/src/common/forms/directives/abstract_control_directive.js 6.67 kB {3} [built]
[123] ./~/angular2/src/common/forms/directives/control_container.js 2.87 kB {3} [built]
[124] ./~/angular2/src/common/forms/directives/ng_control_name.js 17.2 kB {3} [built]
[125] ./~/angular2/src/common/forms/directives/ng_control.js 3.17 kB {3} [built]
[126] ./~/angular2/src/common/forms/directives/control_value_accessor.js 2.16 kB {3} [built]
[127] ./~/angular2/src/common/forms/directives/shared.js 16.5 kB {3} [built]
[128] ./~/angular2/src/common/forms/validators.js 14.8 kB {3} [built]
[129] ./~/angular2/src/common/forms/directives/default_value_accessor.js 7.46 kB {3} [built]
[130] ./~/angular2/src/common/forms/directives/number_value_accessor.js 6.88 kB {3} [built]
[131] ./~/angular2/src/common/forms/directives/checkbox_value_accessor.js 6.39 kB {3} [built]
[132] ./~/angular2/src/common/forms/directives/select_control_value_accessor.js 9.18 kB {3} [built]
[133] ./~/angular2/src/common/forms/directives/normalize_validator.js 1.38 kB {3} [built]
[134] ./~/angular2/src/common/forms/directives/ng_form_control.js 15.4 kB {3} [built]
[135] ./~/angular2/src/common/forms/directives/ng_model.js 12.9 kB {3} [built]
[136] ./~/angular2/src/common/forms/directives/ng_control_group.js 13.7 kB {3} [built]
[137] ./~/angular2/src/common/forms/directives/ng_form_model.js 20.7 kB {3} [built]
[138] ./~/angular2/src/common/forms/directives/ng_form.js 22.1 kB {3} [built]
[139] ./~/angular2/src/common/forms/directives/ng_control_status.js 8.41 kB {3} [built]
[140] ./~/angular2/src/common/forms/directives.js 9.03 kB {3} [built]
[141] ./~/angular2/src/common/forms/directives/validators.js 12 kB {3} [built]
[142] ./~/angular2/src/common/forms/form_builder.js 16 kB {3} [built]
[143] ./~/angular2/src/common/common_directives.js 4.11 kB {3} [built]
[145] ./~/angular2/platform/browser.js 13.1 kB {3} [built]
[146] ./~/angular2/src/core/angular_entrypoint.js 3.1 kB {3} [built]
[147] ./~/angular2/src/platform/browser_common.js 13.4 kB {3} [built]
[148] ./~/angular2/src/platform/dom/dom_adapter.js 8.88 kB {3} [built]
[149] ./~/angular2/src/platform/dom/events/dom_events.js 6.43 kB {3} [built]
[150] ./~/angular2/src/platform/dom/events/event_manager.js 9.5 kB {3} [built]
[151] ./~/angular2/src/platform/dom/events/key_events.js 16.5 kB {3} [built]
[152] ./~/angular2/src/platform/dom/events/hammer_gestures.js 6.3 kB {3} [built]
[153] ./~/angular2/src/platform/dom/events/hammer_common.js 4.95 kB {3} [built]
[154] ./~/angular2/src/platform/dom/dom_tokens.js 1.57 kB {3} [built]
[155] ./~/angular2/src/platform/dom/dom_renderer.js 48.9 kB {3} [built]
[156] ./~/angular2/src/animate/animation_builder.js 3.19 kB {3} [built]
[157] ./~/angular2/src/animate/css_animation_builder.js 9.02 kB {3} [built]
[158] ./~/angular2/src/animate/css_animation_options.js 1.97 kB {3} [built]
[159] ./~/angular2/src/animate/animation.js 26.9 kB {3} [built]
[160] ./~/angular2/src/facade/math.js 645 bytes {3} [built]
[161] ./~/angular2/src/platform/dom/util.js 2.38 kB {3} [built]
[162] ./~/angular2/src/animate/browser_details.js 8.91 kB {3} [built]
[163] ./~/angular2/src/platform/dom/shared_styles_host.js 9.57 kB {3} [built]
[164] ./~/angular2/src/platform/browser/browser_adapter.js 67.9 kB {3} [built]
[165] ./~/angular2/src/platform/browser/generic_browser_adapter.js 11.1 kB {3} [built]
[166] ./~/angular2/src/platform/browser/xhr_impl.js 6.03 kB {3} [built]
[167] ./~/angular2/src/compiler/xhr.js 1.21 kB {3} [built]
[168] ./~/angular2/src/platform/browser/testability.js 9.68 kB {3} [built]
[169] ./~/angular2/src/core/profile/wtf_init.js 598 bytes {3} [built]
[170] ./~/angular2/src/platform/browser/title.js 2.76 kB {3} [built]
[171] ./~/angular2/platform/common_dom.js 3.19 kB {3} [built]
[172] ./~/angular2/src/platform/dom/debug/by.js 4.24 kB {3} [built]
[173] ./~/angular2/src/platform/dom/debug/debug_element_view_listener.js 12.2 kB {3} [built]
[174] ./~/angular2/src/platform/browser/tools/tools.js 2.58 kB {3} [built]
[175] ./~/angular2/src/platform/browser/tools/common_tools.js 9.32 kB {3} [built]
[176] ./~/angular2/src/facade/browser.js 2.67 kB {3} [built]
[177] ./~/angular2/compiler.js 982 bytes {3} [built]
[178] ./~/angular2/src/compiler/url_resolver.js 36.7 kB {3} [built]
[179] ./~/angular2/src/compiler/compiler.js 10 kB {3} [built]
[180] ./~/angular2/src/compiler/runtime_compiler.js 5.43 kB {3} [built]
[181] ./~/angular2/src/compiler/template_compiler.js 72.9 kB {3} [built]
[182] ./~/angular2/src/compiler/directive_metadata.js 42.3 kB {3} [built]
[183] ./~/angular2/src/compiler/selector.js 55.9 kB {3} [built]
[184] ./~/angular2/src/compiler/util.js 21.9 kB {3} [built]
[185] ./~/angular2/src/core/linker/interfaces.js 21.4 kB {3} [built]
[186] ./~/angular2/src/compiler/template_ast.js 28.4 kB {3} [built]
[187] ./~/angular2/src/compiler/source_module.js 8.21 kB {3} [built]
[188] ./~/angular2/src/compiler/change_detector_compiler.js 15.9 kB {3} [built]
[189] ./~/angular2/src/compiler/change_definition_factory.js 35.1 kB {3} [built]
[190] ./~/angular2/src/transform/template_compiler/change_detector_codegen.js 2.24 kB {3} [built]
[191] ./~/angular2/src/compiler/style_compiler.js 18.7 kB {3} [built]
[192] ./~/angular2/src/compiler/shadow_css.js 64 kB {3} [built]
[193] ./~/angular2/src/compiler/style_url_resolver.js 6.42 kB {3} [built]
[194] ./~/angular2/src/compiler/view_compiler.js 96.8 kB {3} [built]
[195] ./~/angular2/src/compiler/proto_view_compiler.js 62.1 kB {3} [built]
[196] ./~/angular2/src/compiler/template_parser.js 127 kB {3} [built]
[197] ./~/angular2/src/compiler/html_parser.js 39 kB {3} [built]
[198] ./~/angular2/src/compiler/html_ast.js 6.08 kB {3} [built]
[199] ./~/angular2/src/compiler/html_lexer.js 77.5 kB {3} [built]
[200] ./~/angular2/src/compiler/parse_util.js 8.45 kB {3} [built]
[201] ./~/angular2/src/compiler/html_tags.js 45.3 kB {3} [built]
[202] ./~/angular2/src/compiler/schema/element_schema_registry.js 1.45 kB {3} [built]
[203] ./~/angular2/src/compiler/template_preparser.js 9.77 kB {3} [built]
[204] ./~/angular2/src/compiler/template_normalizer.js 20.6 kB {3} [built]
[205] ./~/angular2/src/compiler/runtime_metadata.js 26.6 kB {3} [built]
[206] ./~/angular2/src/core/linker/directive_lifecycle_reflector.js 4.21 kB {3} [built]
[207] ./~/angular2/src/compiler/schema/dom_element_schema_registry.js 8.43 kB {3} [built]
[208] ./~/angular2/router.js 14.1 kB {3} [built]
[209] ./~/angular2/src/router/router.js 69.2 kB {3} [built]
[210] ./~/angular2/src/router/route_registry.js 75.9 kB {3} [built]
[211] ./~/angular2/src/router/route_config_impl.js 17.7 kB {3} [built]
[212] ./~/angular2/src/router/route_recognizer.js 16.4 kB {3} [built]
[213] ./~/angular2/src/router/instruction.js 37.5 kB {3} [built]
[214] ./~/angular2/src/router/path_recognizer.js 35.8 kB {3} [built]
[215] ./~/angular2/src/router/url_parser.js 28.4 kB {3} [built]
[216] ./~/angular2/src/router/component_recognizer.js 22.4 kB {3} [built]
[217] ./~/angular2/src/router/async_route_handler.js 3.56 kB {3} [built]
[218] ./~/angular2/src/router/sync_route_handler.js 2.81 kB {3} [built]
[219] ./~/angular2/src/router/route_config_nomalizer.js 14.2 kB {3} [built]
[220] ./~/angular2/src/router/route_config_decorator.js 1.95 kB {3} [built]
[221] ./~/angular2/src/router/location.js 16.6 kB {3} [built]
[222] ./~/angular2/src/router/location_strategy.js 8.22 kB {3} [built]
[223] ./~/angular2/src/router/route_lifecycle_reflector.js 3.09 kB {3} [built]
[224] ./~/angular2/src/router/lifecycle_annotations_impl.js 4.35 kB {3} [built]
[225] ./~/angular2/src/router/router_outlet.js 23.7 kB {3} [built]
[226] ./~/angular2/src/router/lifecycle_annotations.js 5.25 kB {3} [built]
[227] ./~/angular2/src/router/router_link.js 10.8 kB {3} [built]
[228] ./~/angular2/src/router/platform_location.js 8.42 kB {3} [built]
[229] ./~/angular2/src/router/hash_location_strategy.js 13.3 kB {3} [built]
[230] ./~/angular2/src/router/path_location_strategy.js 13.1 kB {3} [built]
[231] ./~/angular2/src/router/route_definition.js 1.59 kB {3} [built]
WARNING in ./src/demo/app/demoPage/demoPage.ts
[58, 1]: exceeds maximum line length of 100
ERROR in /var/www/dev/angular2-modal/node_modules/angular2/src/http/http.d.ts
(5,28): error TS2307: Cannot find module 'rxjs/Observable'.
ERROR in /var/www/dev/angular2-modal/node_modules/angular2/src/http/backends/jsonp_backend.d.ts
(7,28): error TS2307: Cannot find module 'rxjs/Observable'.
ERROR in /var/www/dev/angular2-modal/node_modules/angular2/src/http/backends/xhr_backend.d.ts
(7,28): error TS2307: Cannot find module 'rxjs/Observable'.
ERROR in /var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(3,28): error TS2307: Cannot find module 'rxjs/Observable'.
ERROR in /var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(4,25): error TS2307: Cannot find module 'rxjs/Subject'.
ERROR in /var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(5,28): error TS2307: Cannot find module 'rxjs/Observable'.
ERROR in /var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts
(6,25): error TS2307: Cannot find module 'rxjs/Subject'.
ERROR in ./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/Subject' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
@ ./~/angular2/src/facade/async.js 10:16-39 15:16-39
ERROR in ./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/observable/fromPromise' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
@ ./~/angular2/src/facade/async.js 11:20-58
ERROR in ./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/operator/toPromise' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
@ ./~/angular2/src/facade/async.js 12:18-52
ERROR in ./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/Observable' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade
@ ./~/angular2/src/facade/async.js 13:19-45
webpack: bundle is now VALID.
Open http://localhost:8080/ in browser console log error:
Error: Cannot find module "rxjs/Subject"
common.js (line 11130, col 82)
TypeError: core_1.Injectable is not a function
angular2-modal.js (line 78, col 10)
TypeError: core_1.OpaqueToken is not a constructor
common.js (line 30091, col 55)
I think I have the same local installation error:
jason@jason-LIFEBOOK-AH532:~/Desktop/angular2-modal$ npm install
> angular2-modal@0.0.2 prepublish /home/jason/Desktop/angular2-modal
> tsc --project publish
node_modules/angular2/src/facade/async.d.ts(3,28): error TS2307: Cannot find module 'rxjs/Observable'.
node_modules/angular2/src/facade/async.d.ts(4,25): error TS2307: Cannot find module 'rxjs/Subject'.
node_modules/angular2/src/facade/async.d.ts(5,28): error TS2307: Cannot find module 'rxjs/Observable'.
node_modules/angular2/src/facade/async.d.ts(6,25): error TS2307: Cannot find module 'rxjs/Subject'.
node_modules/angular2/src/facade/promise.d.ts(1,10): error TS2661: Cannot re-export name that is not defined in the module.
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.8
npm WARN angular2@2.0.0-beta.1 requires a peer of es6-promise@^3.0.2 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of es6-shim@^0.33.3 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of reflect-metadata@0.1.2 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of rxjs@5.0.0-beta.0 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of zone.js@0.5.10 but none was installed.
npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! angular2-modal@0.0.2 prepublish: `tsc --project publish`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the angular2-modal@0.0.2 prepublish script 'tsc --project publish'.
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-modal package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc --project publish
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular2-modal
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular2-modal
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/jason/Desktop/angular2-modal/npm-debug.log
sudo!
jason@jason-LIFEBOOK-AH532:~/Desktop/angular2-modal$ sudo npm install
npm WARN lifecycle angular2-modal@0.0.2~prepublish: cannot run in wd %s %s (wd=%s) angular2-modal@0.0.2 tsc --project publish /home/jason/Desktop/angular2-modal
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.8
npm WARN angular2@2.0.0-beta.1 requires a peer of es6-promise@^3.0.2 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of es6-shim@^0.33.3 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of reflect-metadata@0.1.2 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of rxjs@5.0.0-beta.0 but none was installed.
npm WARN angular2@2.0.0-beta.1 requires a peer of zone.js@0.5.10 but none was installed.
Errors while compiling. App updated with errors. No reload!
/var/www/dev/angular2-modal/node_modules/angular2/src/http/http.d.ts (5,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/http/backends/jsonp_backend.d.ts (7,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/http/backends/xhr_backend.d.ts (7,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts (3,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts (4,25): error TS2307: Cannot find module 'rxjs/Subject'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts (5,28): error TS2307: Cannot find module 'rxjs/Observable'.
/var/www/dev/angular2-modal/node_modules/angular2/src/facade/async.d.ts (6,25): error TS2307: Cannot find module 'rxjs/Subject'.
multi main Module not found: Error: Cannot resolve module 'development,' in /var/www/dev/angular2-modal resolve module development, in /var/www/dev/angular2-modal looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' development, in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/development, doesn't exist /var/www/dev/angular2-modal/node_modules/development,.ts doesn't exist /var/www/dev/angular2-modal/node_modules/development,.js doesn't exist /var/www/dev/angular2-modal/node_modules/development,.json doesn't exist /var/www/dev/angular2-modal/node_modules/development,.css doesn't exist /var/www/dev/angular2-modal/node_modules/development,.html doesn't exist /var/www/dev/angular2-modal/node_modules/development, doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/development,] [/var/www/dev/angular2-modal/node_modules/development,.ts] [/var/www/dev/angular2-modal/node_modules/development,.js] [/var/www/dev/angular2-modal/node_modules/development,.json] [/var/www/dev/angular2-modal/node_modules/development,.css] [/var/www/dev/angular2-modal/node_modules/development,.html] [/var/www/dev/angular2-modal/node_modules/development,] @ multi main
multi main Module not found: Error: Cannot resolve module 'to' in /var/www/dev/angular2-modal resolve module to in /var/www/dev/angular2-modal looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' to in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/to doesn't exist /var/www/dev/angular2-modal/node_modules/to.ts doesn't exist /var/www/dev/angular2-modal/node_modules/to.js doesn't exist /var/www/dev/angular2-modal/node_modules/to.json doesn't exist /var/www/dev/angular2-modal/node_modules/to.css doesn't exist /var/www/dev/angular2-modal/node_modules/to.html doesn't exist /var/www/dev/angular2-modal/node_modules/to doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/to] [/var/www/dev/angular2-modal/node_modules/to.ts] [/var/www/dev/angular2-modal/node_modules/to.js] [/var/www/dev/angular2-modal/node_modules/to.json] [/var/www/dev/angular2-modal/node_modules/to.css] [/var/www/dev/angular2-modal/node_modules/to.html] [/var/www/dev/angular2-modal/node_modules/to] @ multi main
multi main Module not found: Error: Cannot resolve module 'build.' in /var/www/dev/angular2-modal resolve module build. in /var/www/dev/angular2-modal looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' build. in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/build. doesn't exist /var/www/dev/angular2-modal/node_modules/build..ts doesn't exist /var/www/dev/angular2-modal/node_modules/build..js doesn't exist /var/www/dev/angular2-modal/node_modules/build..json doesn't exist /var/www/dev/angular2-modal/node_modules/build..css doesn't exist /var/www/dev/angular2-modal/node_modules/build..html doesn't exist /var/www/dev/angular2-modal/node_modules/build. doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/build.] [/var/www/dev/angular2-modal/node_modules/build..ts] [/var/www/dev/angular2-modal/node_modules/build..js] [/var/www/dev/angular2-modal/node_modules/build..json] [/var/www/dev/angular2-modal/node_modules/build..css] [/var/www/dev/angular2-modal/node_modules/build..html] [/var/www/dev/angular2-modal/node_modules/build.] @ multi main
./~/angular2/src/facade/async.js Module not found: Error: Cannot resolve module 'rxjs/Subject' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade resolve module rxjs/Subject in /var/www/dev/angular2-modal/node_modules/angular2/src/facade looking for modules in /var/www/dev/angular2-modal/node_modules /var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/rxjs] @ ./~/angular2/src/facade/async.js 10:16-39 15:16-39
./~/angular2/src/facade/async.js Module not found: Error: Cannot resolve module 'rxjs/observable/fromPromise' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade resolve module rxjs/observable/fromPromise in /var/www/dev/angular2-modal/node_modules/angular2/src/facade looking for modules in /var/www/dev/angular2-modal/node_modules /var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/rxjs] @ ./~/angular2/src/facade/async.js 11:20-58
./~/angular2/src/facade/async.js Module not found: Error: Cannot resolve module 'rxjs/operator/toPromise' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade resolve module rxjs/operator/toPromise in /var/www/dev/angular2-modal/node_modules/angular2/src/facade looking for modules in /var/www/dev/angular2-modal/node_modules /var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/rxjs] @ ./~/angular2/src/facade/async.js 12:18-52
./~/angular2/src/facade/async.js Module not found: Error: Cannot resolve module 'rxjs/Observable' in /var/www/dev/angular2-modal/node_modules/angular2/src/facade resolve module rxjs/Observable in /var/www/dev/angular2-modal/node_modules/angular2/src/facade looking for modules in /var/www/dev/angular2-modal/node_modules /var/www/dev/angular2-modal/node_modules/rxjs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/rxjs] @ ./~/angular2/src/facade/async.js 13:19-45
./~/uglify-js/tools/node.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/uglify-js/tools resolve module fs in /var/www/dev/angular2-modal/node_modules/uglify-js/tools looking for modules in /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules resolve file /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs doesn't exist (module as directory) looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/uglify-js/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ ./~/uglify-js/tools/node.js 2:9-22
(webpack)/lib/node/NodeMainTemplateAsync.runtime.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/webpack/lib/node resolve module fs in /var/www/dev/angular2-modal/node_modules/webpack/lib/node looking for modules in /var/www/dev/angular2-modal/node_modules/webpack/web_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules/webpack/web_modules resolve file /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs doesn't exist (module as directory) looking for modules in /var/www/dev/angular2-modal/node_modules/webpack/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules/webpack/node_modules resolve file /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs doesn't exist (module as directory) looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ (webpack)/lib/node/NodeMainTemplateAsync.runtime.js 9:2-15 24:2-15
(webpack)/lib/node/NodeOutputFileSystem.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/webpack/lib/node resolve module fs in /var/www/dev/angular2-modal/node_modules/webpack/lib/node looking for modules in /var/www/dev/angular2-modal/node_modules/webpack/web_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules/webpack/web_modules resolve file /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs doesn't exist (module as directory) looking for modules in /var/www/dev/angular2-modal/node_modules/webpack/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules/webpack/node_modules resolve file /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs doesn't exist (module as directory) looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ (webpack)/lib/node/NodeOutputFileSystem.js 5:9-22
(webpack)/lib/node/OldNodeWatchFileSystem.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/webpack/lib/node resolve module fs in /var/www/dev/angular2-modal/node_modules/webpack/lib/node looking for modules in /var/www/dev/angular2-modal/node_modules/webpack/web_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules/webpack/web_modules resolve file /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs doesn't exist (module as directory) looking for modules in /var/www/dev/angular2-modal/node_modules/webpack/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules/webpack/node_modules resolve file /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs doesn't exist (module as directory) looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/webpack/web_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/webpack/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ (webpack)/lib/node/OldNodeWatchFileSystem.js 5:9-22
./~/mkdirp/index.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/mkdirp resolve module fs in /var/www/dev/angular2-modal/node_modules/mkdirp looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ ./~/mkdirp/index.js 2:9-22
./~/graceful-fs/graceful-fs.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/graceful-fs resolve module fs in /var/www/dev/angular2-modal/node_modules/graceful-fs looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ ./~/graceful-fs/graceful-fs.js 1:9-22
./~/graceful-fs/fs.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/graceful-fs resolve module fs in /var/www/dev/angular2-modal/node_modules/graceful-fs looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ ./~/graceful-fs/fs.js 3:9-22
./~/chokidar/index.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/chokidar resolve module fs in /var/www/dev/angular2-modal/node_modules/chokidar looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ ./~/chokidar/index.js 3:9-22
./~/chokidar/lib/nodefs-handler.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/chokidar/lib resolve module fs in /var/www/dev/angular2-modal/node_modules/chokidar/lib looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ ./~/chokidar/lib/nodefs-handler.js 3:9-22
./~/chokidar/lib/fsevents-handler.js Module not found: Error: Cannot resolve module 'fs' in /var/www/dev/angular2-modal/node_modules/chokidar/lib resolve module fs in /var/www/dev/angular2-modal/node_modules/chokidar/lib looking for modules in /var/www/dev/angular2-modal/node_modules resolve 'file' fs in /var/www/dev/angular2-modal/node_modules resolve file /var/www/dev/angular2-modal/node_modules/fs doesn't exist /var/www/dev/angular2-modal/node_modules/fs.ts doesn't exist /var/www/dev/angular2-modal/node_modules/fs.js doesn't exist /var/www/dev/angular2-modal/node_modules/fs.json doesn't exist /var/www/dev/angular2-modal/node_modules/fs.css doesn't exist /var/www/dev/angular2-modal/node_modules/fs.html doesn't exist /var/www/dev/angular2-modal/node_modules/fs doesn't exist (module as directory) [/var/www/dev/angular2-modal/node_modules/fs] [/var/www/dev/angular2-modal/node_modules/fs.ts] [/var/www/dev/angular2-modal/node_modules/fs.js] [/var/www/dev/angular2-modal/node_modules/fs.json] [/var/www/dev/angular2-modal/node_modules/fs.css] [/var/www/dev/angular2-modal/node_modules/fs.html] [/var/www/dev/angular2-modal/node_modules/fs] @ ./~/chokidar/lib/fsevents-handler.js 3:9-22