美文网首页
babel-node: command not found

babel-node: command not found

作者: 前端开发_Eric | 来源:发表于2022-05-01 00:24 被阅读0次
    image.png

    查阅babel官方文档如下:

    @babel/node

    The babel-node command in Babel 6 was part of the babel-cli package. In Babel 7, this command has been split out into its own @babel/node package, so if you are using that command, you'll want to add this new dependency.

    总之就是说babel-node在7版本,需要单独安装一个叫@babel/node的包
    安装后就可以了哈

    相关文章

      网友评论

          本文标题:babel-node: command not found

          本文链接:https://www.haomeiwen.com/subject/ucuuyrtx.html