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.

.vue files not being processed correctly

See original GitHub issue

I am using all the default settings, but when I run npm run webpack, I get the following error:

Module parse failed:

/Users/Workspace/barcode/resources/assets/js/components/Events/Tickets.vue Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| <template>
|     <div class="Tickets">
|         <div class="row">

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:14

github_iconTop GitHub Comments

7reactions
sailingdevelopercommented, Jan 19, 2017

I found out what’s wrong: I installed Laravel Mix in a project that already has Laravel Elixir installed. When I removed laravel-elixir frompackage.json, removed thenode_modules directory and reinstalled, everything worked correctly.

0reactions
mirzapcommented, Jan 26, 2017

Thanks for the response… Huge time saver 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

vue files not being processed correctly · Issue #80 - GitHub
I am using all the default settings, but when I run npm run webpack, I get the following error: Module parse failed: ...
Read more >
javascript - Vue.js not working correctly on page load, but ...
The issue is when I first load the page, the data array which is passed as a prop to my gallery component is...
Read more >
Common mistakes to avoid while working with Vue.js
In this article, I'd like to share a few common issues that you may have to deal with when working with Vue.js.
Read more >
Component Registration - Vue.js
A Vue component needs to be "registered" so that Vue knows where to locate its implementation when it is encountered in a template....
Read more >
VUE Application not updating after code change
I've done some more troubleshooting, and it seems that for some reason the app is not using the App.vue start as it's main...
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