Answers for "ERROR in ./src/js/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Couldn't find preset "env" relative to directory"

1

Module not found: Can't resolve 'C:\Users\{user}\Documents\React apps\{app-name}\node_modules\react-scripts\node_modules\babel-loader\lib\index.js'

// run the following command in your terminal

npm install babel-loader --save-dev
// this may take up to 15 mins, grab a cup of coffee!
Posted by: Guest on December-24-2020

Code answers related to "ERROR in ./src/js/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Couldn't find preset "env" relative to directory"

Code answers related to "Javascript"

Browse Popular Code Answers by Language