Webpack command Module build failed (from. / node_modules / babel-loader / lib / index. js) error problem solution

An error was reported when the project was running, and the error was Module build failed (from. / node_modules / babel-loader / lib / index. js)

 

Solution:

Console input NPM install @babel/core @babel/preset-env command

  

 

Perfect solution

Leave a Reply

Your email address will not be published. Required fields are marked *