Node.js babel节点不再在其他目录中工作
昨天babel节点工作正常。今天,在我的测试目录中,它不再工作了。奇怪的是,它运行的是我使用ES6的应用程序,没有问题 版本:5.6.14Node.js babel节点不再在其他目录中工作,node.js,babeljs,Node.js,Babeljs,昨天babel节点工作正常。今天,在我的测试目录中,它不再工作了。奇怪的是,它运行的是我使用ES6的应用程序,没有问题 版本:5.6.14 不知道是什么导致了这种情况。我有以下.babelrc文件 import credentials from '../config/credentials' ^^^^^^ SyntaxError: Unexpected reserved word 它禁止babel节点在测试目录中工作 { "stage": 0, "ignore": [ "nod
不知道是什么导致了这种情况。我有以下
.babelrc
文件
import credentials from '../config/credentials'
^^^^^^
SyntaxError: Unexpected reserved word
它禁止babel节点在测试目录中工作
{
"stage": 0,
"ignore": [
"node_modules",
"bower_components",
"testing",
"test"
]
}