Я устанавливаю новое общее приложение Angular SEO с собственным скриптом, но оно не работает - PullRequest
0 голосов
/ 19 июня 2020

Неверный объект опций. Плагин копирования был инициализирован с использованием объекта параметров, который не соответствует схеме API. - options [0] пропускает свойство 'patterns'. Должно быть: [непустая строка | object {from, to ?, context?, globOptions ?, toType ?, force?, flatten ?, transform?, cacheTransform ?, transformPath?, noErrorOnMissing? }, ...] (должно быть не менее 1 элемента) - options [1] пропускает свойство 'patterns'. Должно быть: [непустая строка | object {from, to ?, context?, globOptions ?, toType ?, force?, flatten ?, transform?, cacheTransform ?, transformPath?, noErrorOnMissing? }, ...] (не должно быть меньше 1 элемента) - options [2] пропускает свойство 'patterns'. Должно быть: [непустая строка | object {from, to ?, context?, globOptions ?, toType ?, force?, flatten ?, transform?, cacheTransform ?, transformPath?, noErrorOnMissing? }, ...] (должно быть не менее 1 элемента) ValidationError: недопустимый объект параметров. Плагин копирования был инициализирован с использованием объекта параметров, который не соответствует схеме API. при проверке (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ schema-utils \ dist \ validate. js: 96: 11) в новом CopyPlugin (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ copy -webpack-plugin \ dist \ index. js: 24: 30) в module.exports (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ webpack.config. js: 304: 13) в handleFunction (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack-cli \ bin \ prepareOptions. js: 23: 13) в prepareOptions (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack-cli \ bin \ prepareOptions . js: 9: 5) в requireConfig (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack-cli \ bin \ convert-argv. js: 136: 14) в D: \ Jannawaaz \ Project -Dev \ vehiclemagnetrepository \ node_modules \ webpack-cli \ bin \ convert-argv. js: 142: 17 в Array.forEach () в module.exports (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack- cli \ bin \ convert-argv. js: 140: 15) в D: \ Jannawaaz \ Project-Dev \ vehicle lemagnetrepository \ node_modules \ webpack-cli \ bin \ cli. js: 241: 39 в Object.parse (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack-cli \ node_modules \ yargs \ yargs. js : 567: 18) в D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack-cli \ bin \ cli. js: 219: 8 в Object. (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack-cli \ bin \ cli. js: 538: 3) в Module._compile (internal / modules / cjs / loader. js: 1138: 30 ) в Object.Module._extensions .. js (internal / modules / cjs / loader. js: 1158: 10) в Module.load (internal / modules / cjs / loader. js: 986: 32) в Function.Module._load (internal / modules / cjs / loader. js: 879: 14) в Module.require (internal / modules / cjs / loader. js: 1026: 19) в require (internal / modules /cjs/helpers.js:72:18) на Объекте. (D: \ Jannawaaz \ Project-Dev \ vehiclemagnetrepository \ node_modules \ webpack \ bin \ webpack. js: 156: 2) в Module._compile (internal / modules / cjs / loader. js: 1138: 30) в Object.Module._extensions .. js (internal / modules / cjs / loader. js: 1158: 10) в Module.load (internal / modules / cjs / loader. js: 986: 32) в Function .Module._load (internal / modules / cjs / loader. js: 879: 14) в Function.executeUserEntryPoint [как runMain] (internal / modules / run_main. js: 71: 12) в internal / main / run_main_module . js: 17: 47 Не удалось выполнить веб-пакет с кодом выхода 1.

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