79156099

Date: 2024-11-04 15:45:38
Score: 0.5
Natty:
Report link

The issue is that Babel 7.0 and up doesn’t recognize the env preset anymore. just switch it to @babel/preset-env in your .babelrc.

  1. Install the new preset:

    npm install @babel/preset-env --save-dev
    
  2. Update your .babelrc:

    {
        "presets": [
            "@babel/preset-env"
        ]
    }
    

Try building again

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: aazizzailani