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.

Veture 0.19.0 throwing multiple error messages.

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOs
  • Vetur version: 0.19.0
  • VS Code version: 1.33.1

Problem

In code edit, error (red squiggle) on word ‘template’

Seeing multiple error messages stating can’t find xxx, as example:

Cannot find name 'drag'.
Cannot find global type 'BigInt'.
Expected 3 arguments, but got 7.
The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.

Have also seen message that my .vue file is not a module.

Changing

<template>
  <form v-on:submit.prevent class="toolbar grid5 drag-disabled">
    <slot></slot>
  </form>
</template>

to

<template lang="html">
  <form v-on:submit.prevent class="toolbar grid5 drag-disabled">
    <slot></slot>
  </form>
</template>

seems to solve the problem, at least not reporting any errors.

Here’s my .vue file

<template lang="html">
  <form v-on:submit.prevent class="toolbar grid5 drag-disabled">
    <slot></slot>
  </form>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
form.toolbar.grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 0.3em 0.6em;
  grid-auto-flow: dense;
  align-items: center;
}

form.toolbar {
  padding: 5px;
  background-color: @soft-black;
  border-radius: 4px;
  position: absolute;
  width: calc(100% - 30px);
  bottom: 10px;
}
</style>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:23
  • Comments:57 (11 by maintainers)

github_iconTop GitHub Comments

104reactions
skydivercommented, Apr 25, 2019

my workaround was to disable this option: "vetur.experimental.templateInterpolationService": false

so, it must be related to that feature

46reactions
octrefcommented, Apr 24, 2019

@kinesias You can either rollback, stop using Vetur, or create a repro case instead of ranting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Displaying multiple error messages - Google Groups
I am looking for a way to display multiple error messages at the same time. In the following example both conditional statements could...
Read more >
Displaying Errors - VeeValidate
Displaying Multiple error messages. Another use-case is that you might want to display all the errors for an input, typically to allow the...
Read more >
Error Messages | Cypress Documentation
To make things less magical and clearer, we are now throwing an error. Cypress detected that you invoked one or more cy commands...
Read more >
Elm 0.19.1 releases with improved syntax error messages in ...
Now with the improved Elm compiler, the error message will point out ... run elm make multiple times on the same project at...
Read more >
Multiple error messages are thrown when trying to expand the ...
Multiple error messages are thrown when trying to expand the Event list of an Input Actions asset that has an empty Action Map....
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