@babel/preset-env npm code example
Example 1: install babel preset env
npm install --save-dev @babel/preset-env
Example 2: 'babel-present-env@latest' is not in the npm registry.
Kindly check the name there is spelling correction in npm registry.
Which is 'preset' not 'present'
>npm install babel-preset-env --save-dev