Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

[bug] Module parse failed: Unexpected token (58:4) You may need an appropriate loader to handle this file type. #312

Open
pedromiguelmvs opened this issue Jun 16, 2020 · 0 comments

Comments

@pedromiguelmvs
Copy link

I am using the VueJS "webpack-simple" template, when opening a new file and importing the "youtube-dl" package, the following message is returned:

  ERROR Failed to compile with 1 errors

Module parse failed: Unexpected token (58: 4)
You may need an appropriate loader to handle this file type.
| ecdhCurve: 'auto',
| timeout: 30000,
| ... (proxyArgIndex> -1 && {proxy: args [proxyArgIndex + 1]})
| })
|

  @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/About.vue 16: 0-35
  @ ./src/pages/About.vue
  @ ./src/router/index.js
  @ ./src/main.js
  @ multi (webpack) -dev-server / client? http: // localhost: 8080 webpack / hot / dev-server ./src/main.js

I just need to import the package and the server will show this message.
Any idea what it might be?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant