Я пытаюсь создать сборку с использованием реакции и веб-пакета. Я использую responsejs + webpack + next. js. При создании сборки я получаю следующую ошибку
> Build error occurred
E:\Projects\GSS\mindset\Code\Mindeset\Mindeset\ClientApp\node_modules\react-images-upload\index.css:1
.fileUploader {
^
SyntaxError: Unexpected token '.'
at Module._compile (internal/modules/cjs/loader.js:881:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
at Module.load (internal/modules/cjs/loader.js:798:32)
at Function.Module._load (internal/modules/cjs/loader.js:711:12)
at Module.require (internal/modules/cjs/loader.js:838:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (E:\Projects\GSS\mindset\Code\Mindeset\Mindeset\ClientApp\node_modules\react-images-upload\compiled.js:17:1)
at Module._compile (internal/modules/cjs/loader.js:945:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
at Module.load (internal/modules/cjs/loader.js:798:32) {
type: 'SyntaxError'
}
Automatically optimizing pages .npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Mindset@0.1.0 build: `next build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Mindset@0.1.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\DELL\AppData\Roaming\npm-cache\_logs\2020-04-20T14_08_56_628Z-debug.log
Может кто-нибудь помочь мне решить эту проблему?