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

Module parse failed: webpackChunkName, loader, ... ? #5120

Closed
lukasborawski opened this issue Feb 26, 2019 · 1 comment
Closed

Module parse failed: webpackChunkName, loader, ... ? #5120

lukasborawski opened this issue Feb 26, 2019 · 1 comment

Comments

@lukasborawski
Copy link

lukasborawski commented Feb 26, 2019

Version

v2.4.5

Reproduction link

local

Steps to reproduce

Regular procedure to install the app locally:

npm i
npm run dev

What is expected ?

Regular app build.

What is actually happening?

Got an error during the dev build:

Module parse failed: Unexpected token (6:24)                                               friendly-errors 15:04:50
You may need an appropriate loader to handle this file type.
|
| var _5e2a29cc = function _5e2a29cc() {
>   return interopDefault(import('../pages/discussions/index.vue'
|   /* webpackChunkName: "pages/discussions/index" */
|   ));
                                                                                           friendly-errors 15:04:50
 @ ./.nuxt/index.js 8:0-43 76:19-31
 @ ./.nuxt/client.js
 @ multi eventsource-polyfill webpack-hot-middleware/client?reload=true&timeout=30000&ansiColors=&overlayStyles=&name=client&path=/__webpack_hmr/client ./.nuxt/client.js

Screenshoot of my actual tree:
zrzut ekranu 2019-02-26 o 15 10 34

This bug report is available on Nuxt community (#c8736)
@ghost ghost added the cmty:bug-report label Feb 26, 2019
@manniL
Copy link
Member

manniL commented Feb 26, 2019

Duplicate of #4839

@manniL manniL marked this as a duplicate of #4839 Feb 26, 2019
@manniL manniL closed this as completed Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants