Topic: React build fails

Deppeloper pro asked 2 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.

ParserError: Syntax Error at line: 1, column 26

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

This is an error we are currently working on. For now, please check here for possible solutions:

Sorry for the inconvenience.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: 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