-
Notifications
You must be signed in to change notification settings - Fork 122
SyntaxError: Unexpected token 'export' #384
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
Comments
@jvdeijnden It is not reproducible, I've setup a project with exactly same options you selected (using If you find a reproduction, please submit it around the https://github.com/nuxt/create-nuxt-app repository. |
I'm facing the same issue. I would guess it is related to TypeScript. |
Same issue with nuxt-ts only, nuxt works fine |
It should have been fixed with |
When building for production and trying to run the development server, this happens:
Project settings
? Project name: test
? Programming language: TypeScript
? Package manager: Npm
? UI framework: Buefy
? Nuxt.js modules: Axios, Progressive Web App (PWA), Content
? Linting tools: ESLint
? Testing framework: Jest
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Server (Node.js hosting)
? Development tools: jsconfig.json (Recommended for VS Code)
To reproduce
run
npm run build
run
npm run dev
Expected behavior
I'm expecting the same thing to happen with a JavaScript project, which is compiling for and running the development server.
I have tried deleting the dist directory, but that doesn't fix it.
The text was updated successfully, but these errors were encountered: