babel版本不对

babel版本不对

 老师  你这节 跳的太快, 你直接让我们用你配置好的 api begin  我偏不用  我就想自己一个一个配置  但是出现了这个问题(Requires Babel "^7.0.0-0", but was loaded with "6.26.3"),怎么解决?

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

1回答
提问者 JasonCCCC 2020-05-29 16:09:45
  • 提问者 JasonCCCC #1
    但是 又有新的问题 [nodemon] app crashed - waiting for file changes before starting...
    2020-05-29 16:14:39
  • 提问者 JasonCCCC #2
    还是这个错误(Requires Babel "^7.0.0-0", but was loaded with "6.26.3")
    2020-05-29 16:33:28
  • 提问者 JasonCCCC #3
    { "name": "front", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "cross-env NODE_ENV=prod webpack --config config/webpack.config.prod.js", "dev": "cross-env NODE_ENV=dev nodemon --exec babel-node --inspect=9230 ./src/index.js", "lint": "vue-cli-service lint" }, "dependencies": { "@babel/runtime": "^7.10.1", "babel-cli": "^6.26.0", "babel-node": "^0.0.1-security", "core-js": "^2.6.5", "cross-env": "^7.0.2", "nodemon": "^2.0.4", "svg-captcha": "^1.4.0", "vue": "^2.6.10", "vue-router": "^3.0.3", "vuex": "^3.0.1" }, "devDependencies": { "@babel/core": "^7.10.1", "@babel/plugin-transform-runtime": "^7.10.1", "@babel/preset-env": "^7.10.1", "@vue/cli-plugin-babel": "^3.9.0", "@vue/cli-plugin-eslint": "^3.9.0", "@vue/cli-service": "^3.9.0", "@vue/eslint-config-standard": "^4.0.0", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-loader": "^8.1.0", "eslint": "^5.16.0", "eslint-plugin-vue": "^5.0.0", "sass": "^1.18.0", "sass-loader": "^7.1.0", "vue-template-compiler": "^2.6.10" } }
    2020-05-29 16:34:32
问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师