找不到预设的“ @ babel / preset-env”

时间:2018-11-01 11:58:51

标签: reactjs babeljs babel

请问有人可以帮我吗? 我有这个包: https://github.com/xbrain-dev/xbrain-validate

当我将其安装在react-native项目中时,会发生以下错误:

  

/Users/diegovieira/Sites/ConexaoClaroBrasilMobile/node_modules/xbrain-validate/dist/xbrain-validate.min.js:找不到相对于目录“ / Users / diegovieira /的预设“ @ babel / preset-env”网站/ ConexaoClaroBrasilMobile / node_modules / xbrain-validate“

0 个答案:

没有答案