1

I installed two packages "Nuxt-aos" and "lodash" with pnpm libraries into my project and after that, I added these two to my nuxt.config.ts:

modules: [
 "nuxt-aos",
 "nuxt-lodash"
],

after I write a data-aos as an attribute in one of my tags (e.g. div tag) I get this error message in the console:

"SyntaxError: The requested module/_nuxt/node_modules/.pnpm/[email protected]/node_modules/lodash.debounce/index.js?v=443b1030' does not provide an export named 'default"

I tried to write a separate plugin but it's not working any idea how can I solve this issue?

1

0

Browse other questions tagged or ask your own question.