Module build failed: error:couldn’t find preset “env” relative to directory

solution reference: https://github.com/babel/babel-preset-env/issues/186

, as a way to set up the module, enter the command as: NPM install babel-env

Read More: