Building problems

Hi All,
I am having issued deploying my site.
I get the error below

Module.createRequire is not a function


5:44:20 PM: npm ERR! code ELIFECYCLE

5:44:20 PM: npm ERR! errno 1

5:44:20 PM: npm ERR! mobile-wellness@0.1.0 build: `react-scripts build`

5:44:20 PM: npm ERR! Exit status 1

5:44:20 PM: npm ERR!

5:44:20 PM: npm ERR! Failed at the mobile-wellness@0.1.0 build script.

5:44:20 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

5:44:20 PM: npm ERR! A complete log of this run can be found in:

5:44:20 PM: npm ERR! /opt/buildhome/.npm/_logs/2022-03-31T16_44_20_496Z-debug.log

Does anyone know how to solve it?
Many thanks
Sara

Hiya, sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!