Jest编译过程中的报错汇总
持续更新中~
1、Couldn't find preset "env" relative to directory "E:\\gitHub"
解决方案:
Many of the github issues relating to this suggest that babel-preset-env
is not installed.
Indeed it doesn't seem to be there in your package.json
. Add & install it by doing this:
npm install babel-preset-env --save