Skip to content

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

@Tomansion

Description

@Tomansion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions