question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

You may need an appropriate loader to handle this file type.

See original GitHub issue
 ERROR  Failed to compile with 1 errors                                                                                                                                                  20:06:38
 error  in ./node_modules/vuetify/src/mixins/route-link.js

Module parse failed: E:\www\project\node_modules\vuetify\src\mixins\route-link.js Unexpected token (36:10)

You may need an appropriate loader to handle this file type.
|         }],
|         on: {
|           ...(this.$listeners || {}),
|           click: this.click
|         }

 @ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"uglify":true}}],["es2015",{"modules":false}],["stage-2"]],"plugins":[
["transform-imports",{"vuetify":{"transform":"vuetify/src/components/${member}","preventFullImport":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/vuetify
/src/components/VBtn/VBtn.vue 5:0-56
 @ ./node_modules/vuetify/src/components/VBtn/VBtn.vue
 @ ./node_modules/vuetify/src/components/VBtn/index.js
 @ ./resources/assets/js/app.js
 @ multi ./resources/assets/js/app.js ./resources/assets/stylus/app.styl

Steps to reproduce

  1. Install Fresh Laravel copy

  2. install vuetify

  3. try to add A La Carte (compnents) Method …

  4. Works fine if i use only the app and the vuetify like this:

window.Vue = require('vue');

import { Vuetify, VApp } from 'vuetify'
 
Vue.use(Vuetify, {
 components: {
    VApp    
 }
})
  1. if i add some components like Grid i get two errors and its all about three dots … ...(this.$listeners || {}),

Versions

What is expected ?

What is actually happening ?

i think i need a loader to handle the three 3 dots (…) files !!!

Reproduction Link

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
KaelWDcommented, Oct 9, 2017

Instead of

import { createSimpleTransition } from 'vuetify/src/util/helpers'

do

import { createSimpleTransition } from 'vuetify/es5/util/helpers'
1reaction
ugommirikwecommented, Sep 6, 2017

Vuetify looks awesome, but after several hours of grappling with setting it up and encountering several issues, including this one, it kinda fails. It’s too fiddly to even recreate the examples in the documentation! 😃

One tries to use frameworks such as this, expecting the same ease of getting things working with minimal configuration/fiddling as the VueJS lib itself, but is eventually let down.

But, thumbs up for the amount of work put into this though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"You may need an appropriate loader to handle this file type ...
js file is doing is importing react, but it seems like the 'babel-loader' is not working. I am using 'babel-loader' 6.0.0. javascript ·...
Read more >
Fix : You may need an appropriate loader to handle this file type
The “You may need an appropriate loader to handle this file type” error is encountered in the command prompt of Windows or Linux...
Read more >
Module parse failed: Unexpected token. You may need an ...
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. #996.
Read more >
You may need an appropriate loader to handle this file type ...
I 'm having a problem configuring Webpack for Typescript and React. After running the NPM script: webpack serves ./webpack/webpack.config.ts ...
Read more >
You might need an appropriate loader to handle the file type ...
You might need an appropriate loader to handle the file type error. r/react - Hi , I am getting an appropriate loader required...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found