26
Ноя
2020

Ошибка (node:6080) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was rename

Собираю React-приложение с помощью Webpack, и при запуске команды "npm run build" появляется такая ошибка:

(node:14144) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin Creating an optimized production build... Failed to compile.

Cannot read property 'includes' of undefined

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: react-scripts build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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\plokh\AppData\Roaming\npm-cache_logs\2020-11-26T15_59_35_458Z-debug.log

Помогите, пожалуйста, в чем может быть проблема? Никак не получается устранить ошибку...

Источник: https://ru.stackoverflow.com/questions/1210267/%D0%9E%D1%88%D0%B8%D0%B1%D0%BA%D0%B0-node6080-dep-webpack-single-entry-plugin-deprecationwarning-singlee

26
Ноя
2020

Ошибка (node:6080) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was rename

Собираю React-приложение с помощью Webpack, и при запуске команды "npm run build" появляется такая ошибка:

(node:14144) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin Creating an optimized production build... Failed to compile.

Cannot read property 'includes' of undefined

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: react-scripts build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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\plokh\AppData\Roaming\npm-cache_logs\2020-11-26T15_59_35_458Z-debug.log

Помогите, пожалуйста, в чем может быть проблема? Никак не получается устранить ошибку...

Источник: https://ru.stackoverflow.com/questions/1210267/%D0%9E%D1%88%D0%B8%D0%B1%D0%BA%D0%B0-node6080-dep-webpack-single-entry-plugin-deprecationwarning-singlee

Тебе может это понравится...

Добавить комментарий