ReferenceError:[BABEL] unknown:使用删除的Babel 5选项:base.blacklist

时间:2016-06-23 09:58:57

标签: gulp babel riotjs babel-6

我在运行gulpfile时遇到此错误。我假设我的Babel版本有问题。

enter image description here

这是我的package.json

{
   "name": "riotjs-es6-structure",
   "version": "1.0.0",
   "description": "",
   "main": "gulpfile.js",
   "dependencies": {},
   "devDependencies": {
       "babel-core": "^6.10.4",
       "babel-preset-es2015": "^6.9.0",
       "babelify": "^7.3.0",
       "browserify": "^13.0.1",
       "graceful-fs": "^4.1.4",
       "gulp": "^3.9.1",
       "gulp-livereload": "^3.8.1",
       "gulp-plumber": "^1.1.0",
       "gulp-riot": "^0.5.1",
       "gulp-sourcemaps": "^1.6.0",
       "gulp-uglify": "^1.5.4",
       "riot": "^2.4.1",
       "riotify": "^1.0.1",
       "vinyl-buffer": "^1.0.0",
       "vinyl-source-stream": "^1.1.0"
     },
     "scripts": {
       "test": "echo \"Error: no test specified\" && exit 1"
     },
     "author": "",
     "license": "ISC"
   }

这是我的.babelrc文件

{
   "presets": ["es2015"]
}

我错过了什么? :(

0 个答案:

没有答案