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

Error: Can't resolve 'lit-html/lib/shady-render.js' #66

Open
Tomansion opened this issue Aug 3, 2023 · 0 comments
Open

Error: Can't resolve 'lit-html/lib/shady-render.js' #66

Tomansion opened this issue Aug 3, 2023 · 0 comments

Comments

@Tomansion
Copy link

I tried to use your library to add an opt out form for Matomo, using Vue (Vuepress).
Here is my code :

<template>
  <div id="optOut">
    <matomo-opt-out matomo-url="https://matomo.------.fr/"></matomo-opt-out>
  </div>
</template>

<script>
import "@inventage/matomo-opt-out";

export default {
  name: "OptOut",
  created() {},
};
</script>

<style></style>

And I have the following error :

./node_modules/lit-element/lit-element.js
Module not found: Error: Can't resolve 'lit-html/lib/shady-render.js' in '/vuepress/node_modules/lit-element'

I tried npm i --dev lit-html but it didn't help

Any ideas ? Thanks

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

No branches or pull requests

1 participant