我在我的机器上安装了babel cli,使用:当我运行这个命令时,我得到了所需的输出。babel script.js --out-file out.jsThe CLI has been moved into the package `babel-cli$ npm install -g babel-cli{
"name": "youtubeapiloader&
Babel's CLI commands have been moved from the `babel` package to the `babel-cli` package.npm uninstall babel
See http://babeljs.io/docs/usage/cli/ for setup instructions
在将"stage-2"预置添加到.babelrc之后,我从项目中的几个不同库中得到以下错误。(这是我的假设,自动取款机)node_modules/react-native/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js: You gave us a visitor for the node type "ForAwaitStatement" but it's not a valid type我使
我正在尝试卸载我的mac os x el capitan上的全局babel-cli,并得到下面的错误消息。我怎么才能把巴贝尔-克莱彻底除掉呢?在/usr/local/lib/node_node/babel-cli: ENOENT:没有这样的文件或目录中出错,打开'/usr/local/lib/node_modules/babel-cli/package.json外来:喷口/usr/local/
supported in the REPL at File.buildCodeFrameError (/usr/lib/node_modules/babel-cli/lib/_babel-node.js:78:20)
at newFn (/usr/lib/node_modules/babel-cli/node_modules/babel-traverse
我尝试使用babel-node,但收到奇怪的错误node_modules/babel-cli/lib/babel-node.js node_modules/sequelize-cli/bin/sequelizedb:seednode_modules/babel-cli/lib/babel-node.js: line 1: /Applications: is a directory
node_modules/babel-cli<