vuetable-2-tutorial
vuetable-2-tutorial copied to clipboard
Error: Couldn't find preset "env" relative to directory "[snip]/vuetable-2-tutorial/node_modules/vuetable-2"
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 /"
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.
Did you solved it after ?
As far as I remember, I delete node_modules and reinstalled everything. No magic was needed.