angular / angular.io

Website for the Angular project (see github.com/angular/angular for the project repo)
https://angular.io
MIT License
1.03k stars 880 forks source link

Error while build webpack for angular app #3554

Open yogi1817 opened 7 years ago

yogi1817 commented 7 years ago

rimraf dist && webpack --config config/webpack.dev.js --progress --profile --bail

10% building modules 0/2 modules 2 active ...thub\sis-using-angular2.0\src\main.ts [at-loader] Using typescript@2.3.4 from typescript and "tsconfig.json" from C:\Users\618730\Documents\SIS codebase\github\sis-using-a gular2.0\tsconfig.json.

7457ms building modules 5ms sealing 1ms optimizing 0ms basic module optimization 3ms module optimization 1ms advanced module optimization 3ms basic chunk optimization 0ms chunk optimization 2ms advanced chunk optimization 559ms building modules 1ms module and chunk tree optimization 1ms module reviving 1ms module order optimization 1ms module id optimization 1ms chunk reviving 0ms chunk order optimization 5ms chunk id optimization 3ms hashing 0ms module assets processing 57ms chunk assets processing 11ms additional chunk assets processing 2ms recording 0ms additional asset processing 1ms chunk asset optimization 94% asset optimization [at-loader] Checking started in a separate process...

[at-loader] Checking finished with 111 errors Error in bail mode: [at-loader] ./node_modules/@angular/common/src/directives/ng_class.d.ts:48:34 TS2304: Cannot find name 'Set'.

npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build" npm ERR! node v6.10.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! sis-using-angular2.0@1.0.0 build: rimraf dist && webpack --config config/webpack.dev.js --progress --profile --bail npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sis-using-angular2.0@1.0.0 build script 'rimraf dist && webpack --config config/webpack.dev.js --progress --pr file --bail'. 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 sis-using-angular2.0 package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! rimraf dist && webpack --config config/webpack.dev.js --progress --profile --bail npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs sis-using-angular2.0 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls sis-using-angular2.0 npm ERR! There is likely additional logging output above.

Please do not add issues or pull requests to this repo. We are no longer making changes to documentation in this repository. We will no longer process new issues or PRs and we will close them automatically.

Please post new issues and pull requests to the content folder in https://github.com/angular/angular/tree/master/aio/content.

Be sure to prefix your issue/PR title with "docs(aio):"