引导程序加载程序angular 2升级到4

时间:2018-10-07 20:39:32

标签: angular webpack bootstrap-4 upgrade

我已将angular升级到4,并更新了webpack和package.json依赖项 启动应用程序时。

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","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":"/Users/developperdevelopper/Documents/work/workspace/auth-server_v2/www/.bootstraprc","bootstrapPath":"/Users/developperdevelopper/Documents/work/workspace/auth-server_v2/www/~/bootstrap","bootstrapRelPath":"../bootstrap"}!./~/bootstrap-loader/no-op.js
Module build failed: Error: No PostCSS Config found in: /Users/developperdevelopper/Documents/work/workspace/auth-server_v2/www/node_modules/bootstrap-loader
    at Error (native)
    at /Users/developperdevelopper/Documents/work/workspace/auth-server_v2/www/node_modules/postcss-load-config/index.js:51:26
 @ ./~/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","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":"/Users/developperdevelopper/Documents/work/workspace/auth-server_v2/www/.bootstraprc","bootstrapPath":"/Users/developperdevelopper/Documents/work/workspace/auth-server_v2/www/~/bootstrap","bootstrapRelPath":"../bootstrap"}!./~/bootstrap-loader/no-op.js 4:14-1141
 @ ./~/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://localhost:3000 ./src/vendor.browser.ts

ERROR in [AssetsWebpackPlugin] Unable to write to /Users/developperdevelopper/Documents/work/workspace/auth-server_v2/www/dist/webpack-assets.json

0 个答案:

没有答案