Closed P4sca1 closed 1 month ago
Context: https://github.com/vitejs/vite/issues/416
I am using pnpm
without shamefully hoisting and was able to resolve the Property 'hot' does not exist on type 'ImportMeta'
issue by installing vite
in the root level. The second type issue remains:
node_modules/.pnpm/nuxt-link-checker@3.0.2_magicast@0.3.4_rollup@4.18.1_vite@5.3.4_@types+node@20.14.11_terser@5_3bsdi4zsktgzjx4j3xmrc5j55a/node_modules/nuxt-link-checker/dist/runtime/nuxt/plugin/view/Main.vue:42:38 - error TS2551: Property 'value' does not exist on type 'string'. Did you mean 'valueOf'?
42 :highlighted="highlightedLink?.value === node.link"
~~~~~
node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:529:5
529 valueOf(): string;
~~~~~~~~~~~~~~~~~~
'valueOf' is declared here.
Found 1 error in node_modules/.pnpm/nuxt-link-checker@3.0.2_magicast@0.3.4_rollup@4.18.1_vite@5.3.4_@types+node@20.14.11_terser@5_3bsdi4zsktgzjx4j3xmrc5j55a/node_modules/nuxt-link-checker/dist/runtime/nuxt/plugin/view/Main.vue:42
Describe the bug
After installing the
@nuxtjs/seo
module includingnuxt-link-checker@3.0.2
, I get the following error when runningnuxt build
withtypescript.typeCheck
set to"build"
:Reproduction
No response
System / Nuxt Info
No response