Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

serebrov
Copy link

@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

@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

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.

None yet

3 participants