Topic: React build fails
Deppeloper pro asked 3 years ago
Expected behavior
After tinkering trying to get my project to build, i've tried to build builderplate-project and it failed. When downloading the example from the website it should be able to be built.
Actual behavior
$ npm run build
> mdb-react-template@1.4.0 build <path>\Downloads\MDB5-REACT-UI-KIT-Free-1.4.0
> react-scripts build
Creating an optimized production build...
Failed to compile.
./node_modules/mdb-react-ui-kit/dist/css/mdb.min.css
ParserError: Syntax Error at line: 1, column 26
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mdb-react-template@1.4.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdb-react-template@1.4.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Resources (screenshots, code snippets etc.)
Node-Version: v14.17.5
Wojciech Staniszewski staff answered 3 years ago
This is an error we are currently working on. For now, please check here for possible solutions: https://mdbootstrap.com/support/react/mdb5-version-1-4-0-npm-run-build-error/
Sorry for the inconvenience.
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 1.4.0
- Device: PC
- Browser: n/a
- OS: Windows
- Provided sample code: No
- Provided link: Yes