Как я могу перейти с Webpack 2.2.0 на Webpack 4? - PullRequest
0 голосов
/ 30 апреля 2019

Я хочу использовать Split Chunks, поэтому я хочу перейти на Webpack 4 с Webpack 2. На Webpack 2 он работал нормально, но я обновил все пакеты с их устаревших аналогов до более новых версий, но я долгосписок ошибок.Интерфейс Vue, который создает веб-пакет, не мой, я просто работаю над ним, и я только начинающий, поэтому я очень растерялся.Вот ошибки.В чем может быть проблема?Они генерируются, когда я запускаю npm run dev.

 error  in ./src/main.js

Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: Cannot read property 'babel' of undefined
    at Object.module.exports (/var/www/chubak.com/html/node_modules/babel-loader/lib/index.js:78:36)

 @ multi ./build/dev-client ./src/main.js

 error  in ./node_modules/bootstrap-loader/no-op.js

Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/resolve-url-loader/index.js):
TypeError: Cannot read property 'resolveUrlLoader' of undefined
    at Object.resolveUrlLoader (/var/www/chubak.com/html/node_modules/resolve-url-loader/index.js:39:72)
    at runLoaders (/var/www/chubak.com/html/node_modules/webpack/lib/NormalModule.js:301:20)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.asyncSassJobQueue.push [as callback] (/var/www/chubak.com/html/node_modules/sass-loader/lib/loader.js:81:9)
    at Object.<anonymous> (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:2271:31)
    at Object.callback (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:969:16)
    at options.success (/var/www/chubak.com/html/node_modules/node-sass/lib/index.js:308:32)

 @ ./node_modules/bootstrap-loader/lib/bootstrap.loader.js?extractStyles!./node_modules/bootstrap-loader/no-op.js 1:21-1276
 @ ./node_modules/bootstrap-loader/extractStyles.js
 @ multi ./build/dev-client bootstrap-loader/extractStyles

 error  in ./node_modules/bootstrap-loader/no-op.js

Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/resolve-url-loader/index.js):
TypeError: Cannot read property 'resolveUrlLoader' of undefined
    at Object.resolveUrlLoader (/var/www/chubak.com/html/node_modules/resolve-url-loader/index.js:39:72)
    at runLoaders (/var/www/chubak.com/html/node_modules/webpack/lib/NormalModule.js:301:20)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.asyncSassJobQueue.push [as callback] (/var/www/chubak.com/html/node_modules/sass-loader/lib/loader.js:81:9)
    at Object.<anonymous> (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:2271:31)
    at Object.callback (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:969:16)
    at options.success (/var/www/chubak.com/html/node_modules/node-sass/lib/index.js:308:32)

✖ 「wdm」: Hash: 804c6b635ea06bab4db5
Version: webpack 4.30.0
Time: 72085ms
Built at: 04/30/2019 9:01:12 AM
           Asset      Size  Chunks  Chunk Names
          app.js  72.2 KiB       0  app
      app.js.map   166 KiB       0  app
    bootstrap.js   214 KiB       1  bootstrap
bootstrap.js.map   788 KiB       1  bootstrap
Entrypoint bootstrap = bootstrap.js bootstrap.js.map
Entrypoint app = app.js app.js.map
 [3] ./build/dev-client.js 245 bytes {0} {1} [built]
 [4] ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js 852 bytes {0} {1} [built]
 [5] ./node_modules/eventsource-polyfill/dist/eventsource.js 17.3 KiB {0} {1} [built]
 [6] (webpack)-hot-middleware/client.js?noInfo=true&reload=true 7.59 KiB {0} {1} [built]
 [7] (webpack)/buildin/module.js 497 bytes {0} {1} [built]
 [8] ./node_modules/querystring-es3/index.js 127 bytes {0} {1} [built]
[11] ./node_modules/strip-ansi/index.js 161 bytes {0} {1} [built]
[13] (webpack)-hot-middleware/client-overlay.js 2.16 KiB {0} {1} [built]
[18] (webpack)-hot-middleware/process-update.js 4.26 KiB {0} {1} [built]
[19] multi ./build/dev-client bootstrap-loader/extractStyles 40 bytes {1} [built]
[20] ./node_modules/bootstrap-loader/extractStyles.js 120 bytes {1} [built]
[21] ./node_modules/bootstrap-loader/lib/bootstrap.loader.js?extractStyles!./node_modules/bootstrap-loader/no-op.js 2.33 KiB {1} [built]
[22] ./node_modules/bootstrap-loader/lib/bootstrap.scripts.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js 288 bytes {1} [built]
[31] multi ./build/dev-client ./src/main.js 40 bytes {0} [built]
[32] ./src/main.js 244 bytes {0} [built] [failed] [1 error]
    + 19 hidden modules

WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/

ERROR in ./src/main.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: Cannot read property 'babel' of undefined
    at Object.module.exports (/var/www/chubak.com/html/node_modules/babel-loader/lib/index.js:78:36)
 @ multi ./build/dev-client ./src/main.js app[1]

ERROR in ./node_modules/bootstrap-loader/no-op.js (./node_modules/extract-text-webpack-plugin/dist/loader.js?{"omit":1,"remove":true}!./node_modules/style-loader!./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js)
Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/resolve-url-loader/index.js):
TypeError: Cannot read property 'resolveUrlLoader' of undefined
    at Object.resolveUrlLoader (/var/www/chubak.com/html/node_modules/resolve-url-loader/index.js:39:72)
    at runLoaders (/var/www/chubak.com/html/node_modules/webpack/lib/NormalModule.js:301:20)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.asyncSassJobQueue.push [as callback] (/var/www/chubak.com/html/node_modules/sass-loader/lib/loader.js:81:9)
    at Object.<anonymous> (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:2271:31)
    at Object.callback (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:969:16)
    at options.success (/var/www/chubak.com/html/node_modules/node-sass/lib/index.js:308:32)
 @ ./node_modules/bootstrap-loader/no-op.js (./node_modules/bootstrap-loader/lib/bootstrap.loader.js?extractStyles!./node_modules/bootstrap-loader/no-op.js) 1:21-1276
 @ ./node_modules/bootstrap-loader/extractStyles.js
 @ multi ./build/dev-client bootstrap-loader/extractStyles

ERROR in ./node_modules/bootstrap-loader/no-op.js (./node_modules/extract-text-webpack-plugin/dist/loader.js?{"omit":1,"remove":true}!./node_modules/style-loader!./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js)
Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/resolve-url-loader/index.js):
TypeError: Cannot read property 'resolveUrlLoader' of undefined
    at Object.resolveUrlLoader (/var/www/chubak.com/html/node_modules/resolve-url-loader/index.js:39:72)
    at runLoaders (/var/www/chubak.com/html/node_modules/webpack/lib/NormalModule.js:301:20)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at iterateNormalLoaders (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/var/www/chubak.com/html/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.asyncSassJobQueue.push [as callback] (/var/www/chubak.com/html/node_modules/sass-loader/lib/loader.js:81:9)
    at Object.<anonymous> (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:2271:31)
    at Object.callback (/var/www/chubak.com/html/node_modules/sass-loader/node_modules/async/dist/async.js:969:16)
    at options.success (/var/www/chubak.com/html/node_modules/node-sass/lib/index.js:308:32)
 @ ./node_modules/bootstrap-loader/no-op.js (./node_modules/extract-text-webpack-plugin/dist/loader.js?{"omit":1,"remove":true}!./node_modules/style-loader!./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js)
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!node_modules/bootstrap-loader/no-op.js:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js 261 bytes {0} [built] [failed] [1 error]

    ERROR in ./node_modules/bootstrap-loader/no-op.js (./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js)
    Module build failed (from ./node_modules/resolve-url-loader/index.js):
    TypeError: Cannot read property 'resolveUrlLoader' of undefined
        at Object.resolveUrlLoader (/var/www/chubak.com/html/node_modules/resolve-url-loader/index.js:39:72)
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!node_modules/bootstrap-loader/no-op.js:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js 261 bytes {0} [built] [failed] [1 error]

    ERROR in ./node_modules/bootstrap-loader/no-op.js (./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./node_modules/bootstrap-loader/lib/bootstrap.styles.loader.js?{"bootstrapVersion":4,"preBootstrapCustomizations":"/var/www/chubak.com/html/src/styles/pre-customizations.scss","bootstrapCustomizations":"/var/www/chubak.com/html/src/styles/customizations.scss","appStyles":"/var/www/chubak.com/html/src/styles/app.scss","useFlexbox":true,"extractStyles":true,"styleLoaders":["style","css","sass"],"styles":["mixins","normalize","print","reboot","type","images","code","grid","tables","forms","buttons","transitions","dropdown","button-group","input-group","custom-forms","nav","navbar","card","breadcrumb","pagination","alert","progress","media","list-group","responsive-embed","close","badge","modal","tooltip","popover","utilities"],"scripts":["alert","button","collapse","dropdown","modal","tooltip","util"],"configFilePath":"/var/www/chubak.com/html/.bootstraprc","bootstrapPath":"/var/www/chubak.com/html/node_modules/bootstrap","bootstrapRelPath":"../bootstrap"}!./node_modules/bootstrap-loader/no-op.js)
    Module build failed (from ./node_modules/resolve-url-loader/index.js):
    TypeError: Cannot read property 'resolveUrlLoader' of undefined
        at Object.resolveUrlLoader (/var/www/chubak.com/html/node_modules/resolve-url-loader/index.js:39:72)
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks  Chunk Names
    index.html  557 KiB       0  
    Entrypoint undefined = index.html
    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./index.html 1.39 KiB {0} [built]
    [1] ./node_modules/lodash/lodash.js 527 KiB {0} [built]
    [2] (webpack)/buildin/global.js 472 bytes {0} [built]
    [3] (webpack)/buildin/module.js 497 bytes {0} [built]
ℹ 「wdm」: Failed to compile.
> Listening at http://localhost:8080

Я хочу опубликовать файл, но я не знаю, какой файл опубликовать.Спасибо за вашу помощь.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...