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