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
SyntaxError: nuxt/router.js: Support for the experimental syntax 'dynamicImport' isn't currently enabled #6151
Labels
Comments
ghost
added
the
cmty:bug-report
label
Jul 28, 2019
Duplicate of #4839 |
This was referenced Dec 27, 2023
This was referenced Dec 27, 2023
This was referenced Dec 28, 2023
This was referenced Jan 5, 2024
This was referenced Jan 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v2.8.1
Reproduction link
https://github.com/virskor/clodraForumFE
Steps to reproduce
yarn install
yarn dev
What is expected ?
after update to 2.8.1, my NuxtJS application occurs problem. it's running well before that.
my NodeJS version is v11.
and i am using yarn.
.barbelrc
{
"env": {
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}
}
after adding @babel/plugin-syntax-dynamic-import, problems still exsting.
What is actually happening?
ERROR in ./.nuxt/router.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /Users/virs/clodraForumFE/.nuxt/router.js: Support for the experimental syntax 'dynamicImport' isn't currently enabled (5:40):
3 | import { interopDefault } from './utils'
4 |
The text was updated successfully, but these errors were encountered: