нет всех ошибок, но что-то всё равно есть: Это по последнему коду, выше:
[0] ./src/index.js 619 bytes {0} [built] [failed] [1 error]
ERROR in ./src/index.js
Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'config'. These properties are valid:
object { postcssOptions?, execute?, sourceMap? }
at validate (C:\Users\Алексей\Desktop\Voyage\node_modules\postcss-loader\node_modules\schema-utils\dist\validate.js:104:11)
at Object.loader (C:\Users\Алексей\Desktop\Voyage\node_modules\postcss-loader\dist\index.js:43:29)
ERROR in Error: Child compilation failed:
Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'config'. These properties are valid:
object { postcssOptions?, execute?, sourceMap? }
- validate.js:104 validate
[Voyage]/[postcss-loader]/[schema-utils]/dist/validate.js:104:11
- ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema .
- - options has an unknown property 'config'. These properties are valid:
- object { postcssOptions?, execute?, sourceMap? }
- compiler.js:79 childCompiler.runAsChild
[Voyage]/[html-webpack-plugin]/lib/compiler.js:79:16
- Compiler.js:343 compile
[Voyage]/[webpack]/lib/Compiler.js:343:11
- Compiler.js:681 hooks.afterCompile.callAsync.err
[Voyage]/[webpack]/lib/Compiler.js:681:15
- Hook.js:154 AsyncSeriesHook.lazyCompileHook
[Voyage]/[tapable]/lib/Hook.js:154:20
- Compiler.js:678 compilation.seal.err
[Voyage]/[webpack]/lib/Compiler.js:678:31
- Hook.js:154 AsyncSeriesHook.lazyCompileHook
[Voyage]/[tapable]/lib/Hook.js:154:20
- Compilation.js:1423 hooks.optimizeAssets.callAsync.err
[Voyage]/[webpack]/lib/Compilation.js:1423:35
- Hook.js:154 AsyncSeriesHook.lazyCompileHook
[Voyage]/[tapable]/lib/Hook.js:154:20
- Compilation.js:1414 hooks.optimizeChunkAssets.callAsync.err
[Voyage]/[webpack]/lib/Compilation.js:1414:32
- index.js:321
taskRunner.run [Voyage]/[uglifyjs-webpack-plugin]/dist/index.js:321:9
- TaskRunner.js:46
TaskRunner.run [Voyage]/[uglifyjs-webpack-plugin]/dist/TaskRunner.js:46:7
- index.js:227 UglifyJsPlugin.optimizeFn
[Voyage]/[uglifyjs-webpack-plugin]/dist/index.js:227:18
- next_tick.js:68 process._tickCallback
internal/process/next_tick.js:68:7
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 619 bytes {0} [built] [failed] [1 error]
ERROR in ./src/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html)
Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'config'. These properties are valid:
object { postcssOptions?, execute?, sourceMap? }
at validate (C:\Users\Алексей\Desktop\Voyage\node_modules\postcss-loader\node_modules\schema-utils\dist\validate.js:104:11)
at Object.loader (C:\Users\Алексей\Desktop\Voyage\node_modules\postcss-loader\dist\index.js:43:29)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! test@1.0.0 build:
webpack --mode production --opennpm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the test@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Алексей\AppData\Roaming\npm-cache\_logs\2020-12-18T23_27_1