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

Error: Couldn't find preset "env" relative to directory "[snip]/vuetable-2-tutorial/node_modules/vuetable-2" #99

Open
muenalan opened this issue Aug 14, 2018 · 3 comments

Comments

@muenalan
Copy link

I followed the instructions, but got an exception in the shell

$ npm run dev

ERROR in .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./~/vuetable-2/src/components/VuetablePagination.vue
Module build failed: Error: Couldn't find preset "env" relative to directory "[snip]/vuetable-2-tutorial/node_modules/vuetable-2"

and the browser displays simple "Cannot GET /"

@muenalan
Copy link
Author

npm install babel-preset-env

did help. However the browser will be empty, and the console will have:

SyntaxError: Unexpected identifier '_typeof'. import call expects exactly one argument.

@ooxiongoo
Copy link

Did you solved it after ?

@muenalan
Copy link
Author

muenalan commented Aug 5, 2019

As far as I remember, I delete node_modules and reinstalled everything. No magic was needed.

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

No branches or pull requests

2 participants