NuxtN
Nuxtβ€’12mo ago
cwrong

Nuxt + cloudinary in pnpm monorepo setup

Hello everyone, sorry for the probably trivial question but I'm quite new in the nuxt environment but I'm captivated by its community and tools πŸ™‚

I succesfully installed and tested @nuxtjs/cloudinary plugin on a fresh project but I'm now struggling trying to import that inside a monorepo , where one "folder" is the nuxt app itself.
I installed the plugin, but I get the following error once I import it.

Pre-transform error: [@vue/compiler-sfc] Failed to resolve extends base type. and Unresolvable type reference or unsupported built-in utility type

It looks like a typescript misconfiguration.
I tried to force shamefully-hoist=true with no success. Anyone who could give me some hints on how to solve the problem?
I noticed that inside my nuxt/node_modules folder, @nuxtjs/cloudinary is symbolic link to the root node_modules folder. I think this might be the problem but I'm kindof stuck πŸ™‚ hope i was clear.

- Operating System: Windows_NT - Node Version: v22.12.0 - Nuxt Version: 3.15.0 - CLI Version: 3.17.2 - Nitro Version: 2.10.4 - Package Manager: pnpm@9.15.1 - Builder: - - User Config: default - Runtime Modules: @nuxtjs/sanity@1.13.3, @pinia/nuxt@0.9.0, @nuxt/fonts@0.10.3, @unlazy/nuxt@0.12.1, @nuxt/ui@2.20.0, @nuxtjs/cloudinary@4.0.0 - Build Modules: -
Was this page helpful?