nuxt-community / express-template

Starter template for Nuxt 2 with Express.
https://codesandbox.io/s/github/nuxt-community/express-template
1.25k stars 239 forks source link

Can't resolve 'core-js/modules/es7.promise.finally' #143

Closed gp15237125756 closed 5 years ago

gp15237125756 commented 5 years ago

When I execute yarn start after installing dependencies,this error emerge. Also the error file is client.js. I guess babel is mandatory here to resolve the file.So I changed the devDependencies in package.json as below . "devDependencies": { "babel-eslint": "^7.2.3", "babel-core": "6.26.0", "babel-helper-vue-jsx-merge-props": "^2.0.3", "babel-loader": "7.1.2", "babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-transform-runtime": "6.23.0", "babel-plugin-transform-vue-jsx": "^3.5.0", "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-preset-stage-2": "6.24.1", "eslint": "^4.3.0", "eslint-config-standard": "^10.2.1", "eslint-loader": "^1.9.0", "eslint-plugin-html": "^3.1.1", "eslint-plugin-import": "^2.7.0", "eslint-plugin-node": "^5.1.1", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-standard": "^3.0.1" } then the error disappeared. My environment is windows 7 & node 8.11.1.

This question is available on Nuxt community (#c117)
ghost commented 5 years ago

This issue as been imported as question since it does not respect express-template issue template. Only bug reports and feature requests stays open to reduce maintainers workload. If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically. Your question is available at https://cmty.app/nuxt/express-template/issues/c117.