Skip to content

Remove lang="html" in the template.#119

Open
serebrov wants to merge 1 commit intof:masterfrom
serebrov:remove-lang-html
Open

Remove lang="html" in the template.#119
serebrov wants to merge 1 commit intof:masterfrom
serebrov:remove-lang-html

Conversation

@serebrov
Copy link
Copy Markdown

@serebrov serebrov commented Mar 6, 2022

After vue-cli 5 upgrade, we are getting an error in jest tests:

$ npm run test:unit -- tests/unit/test.spec.ts

Component /.../frontend/node_modules/vue-wait/src/components/v-wait.vue uses lang html for template, however it is not installed.

 FAIL  tests/unit/test.spec.ts
  ● Test suite failed to run

    [vue-jest] Error: Vue template compilation failed

Removing lang="html" in the component template fixes the issue.

After vue-cli 5 upgrade, we are getting an error:
Component uses lang html for template, however it is not installed.
@jdinartejesus
Copy link
Copy Markdown

@f could you approve and merge this? <3 We're using this in our company and breaks when migrating to Vitejs, this would solve it.

@nkosakul
Copy link
Copy Markdown

Have the same problem with vite@4.4.0.
Would really appreciate if the MR could be merged ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants