Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Cannot find module 'babel-core' #168

Closed
wants to merge 1 commit into from
Closed

fix Cannot find module 'babel-core' #168

wants to merge 1 commit into from

Conversation

ssdemajia
Copy link

because the babel7 used name @babel/core. So I change the require statement.
image

because the babel7 used name @babel/core. So I change the require statement.
@ssdemajia ssdemajia closed this Mar 20, 2019
@ssdemajia
Copy link
Author

ssdemajia commented Mar 20, 2019

Sorry, It maybe is my babel too new to use...

  "dependencies": {
    "vue": "^2.6.9",
    "vue-router": "^3.0.2"
  },
  "devDependencies": {
    "@babel/core": "^7.4.0",
    "@babel/preset-env": "^7.4.1",
    "@vue/test-utils": "^1.0.0-beta.29",
    "babel-eslint": "^10.0.1",
    "babel-jest": "^24.5.0",
    "babel-loader": "^8.0.5",
    "copy-webpack-plugin": "^5.0.1",
    "css-loader": "^2.1.1",
    "eslint": "^5.15.3",
    "eslint-config-standard": "^12.0.0",
    "eslint-loader": "^2.1.2",
    "eslint-plugin-import": "^2.16.0",
    "eslint-plugin-node": "^8.0.1",
    "eslint-plugin-promise": "^4.0.1",
    "eslint-plugin-standard": "^4.0.0",
    "eslint-plugin-vue": "^5.2.2",
    "html-webpack-plugin": "^3.2.0",
    "jest": "^24.5.0",
    "jest-serializer-vue": "^2.0.2",
    "node-sass": "^4.11.0",
    "sass-loader": "^7.1.0",
    "svg-sprite-loader": "^4.1.3",
    "vue-jest": "^3.0.4",
    "vue-loader": "^15.7.0",
    "vue-style-loader": "^4.1.2",
    "vue-template-compiler": "^2.6.9",
    "webpack": "^4.29.6",
    "webpack-cli": "^3.3.0",
    "webpack-dev-server": "^3.2.1"
  }

@xxholly32
Copy link

so how to fix this problem ?

@xxholly32
Copy link

ok find it

@maresergiu
Copy link

I have taken the same approach, to modify 'babel-core' into '@babel/core'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants