angular2项目npm start出现错误

angular2项目npm start 出现错误

ERROR in ./src/app/global.state.ts

Module not found: Error: Can't resolve 'jquery-datetimepicker/jquery.js' in 'D:\workspace\society-operation-web\src\app'

@ ./src/app/global.state.ts 6:0-42

@ ./src/app/app.module.ts

@ ./src/app/index.ts

@ ./src/main.browser.ts

@ multi (webpack)-dev-server/client?http://0.0.0.0:3000 ./src/main.browser.ts

ERROR in ./~/css-loader!./~/postcss-loader!./~/resolve-url-loader!./~/sass-loader/lib/loader.js?sourceMap!./~/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"useFlexbox":false,"extractStyles":false,"styleLoaders":["style","css","postcss","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","badge","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","jumbotron","alert","progress","media","list-group","responsive-embed","close","transitions","modal","tooltip","popover","carousel","utilities"],"scripts":["alert","button","carousel","collapse","dropdown","modal","popover","scrollspy","tab","tooltip","util"],"configFilePath":"D://workspace//society-operation-web//.bootstraprc","bootstrapPath":"D://workspace//society-operation-web//~//bootstrap","bootstrapRelPath":"..//bootstrap"}!./~/bootstrap-loader/no-op.js

Module build failed:

undefined

^

File to import not found or unreadable: ../bootstrap/scss/_normalize.

Parent style sheet: stdin

in D:\workspace\society-operation-web\node_modules\bootstrap-loader\no-op.js (line 3, column 1)

@ ./~/style-loader!./~/css-loader!./~/postcss-loader!./~/resolve-url-loader!./~/sass-loader/lib/loader.js?sourceMap!./~/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"useFlexbox":false,"extractStyles":false,"styleLoaders":["style","css","postcss","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","badge","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","jumbotron","alert","progress","media","list-group","responsive-embed","close","transitions","modal","tooltip","popover","carousel","utilities"],"scripts":["alert","button","carousel","collapse","dropdown","modal","popover","scrollspy","tab","tooltip","util"],"configFilePath":"D://workspace//society-operation-web//.bootstraprc","bootstrapPath":"D://workspace//society-operation-web//~//bootstrap","bootstrapRelPath":"..//bootstrap"}!./~/bootstrap-loader/no-op.js 4:14-1101

@ ./~/bootstrap-loader/lib/bootstrap.loader.js!./~/bootstrap-loader/no-op.js

@ ./~/bootstrap-loader/loader.js

@ ./src/vendor.browser.ts

@ multi (webpack)-dev-server/client?http://0.0.0.0:3000 ./src/vendor.browser.ts

ERROR in ./src/app/theme/components/baTimePicker/baTimePicker.ts

Module not found: Error: Can't resolve 'jquery-datetimepicker/jquery.js' in 'D:\workspace\society-operation-web\src\app\theme\components\baTimePicker'

@ ./src/app/theme/components/baTimePicker/baTimePicker.ts 6:0-42

@ ./src/app/theme/components/baTimePicker/index.ts

@ ./src/app/theme/components/index.ts

@ ./src/app/theme/nga.module.ts

@ ./src/app/app.module.ts

@ ./src/app/index.ts

@ ./src/main.browser.ts

@ multi (webpack)-dev-server/client?http://0.0.0.0:3000 ./src/main.browser.ts

你可能感兴趣的