invictus-codes / nuxt-vuetify

Add Vuetify 3 to your Nuxt application in seconds.
MIT License
73 stars 9 forks source link

fix: use `file:` instead of `link:` #6

Closed thehydrogen closed 1 year ago

thehydrogen commented 1 year ago

This PR addresses issues #3 and #5

rhermens commented 1 year ago

Should also fix https://github.com/invictus-codes/nuxt-vuetify/issues/4 Should move it to devDependencies though

jvolker commented 1 year ago

I can install the package using this PR but then the module still can't be found:

> nuxt prepare

Nuxi 3.4.2                                                                 6:13:15 PM

[@nuxt/content 6:13:16 PM]  WARN  The ignores config is being made more flexible in version 2.7. See the docs for more information: https://content.nuxtjs.org/api/configuration#ignores

[6:13:16 PM]  ERROR  Cannot find module '/PROJECT_PATH/node_modules/@invictus.codes/nuxt-vuetify/dist/module.cjs'

  at createEsmNotFoundErr (node:internal/modules/cjs/loader:1096:15)
  at finalizeEsmResolution (node:internal/modules/cjs/loader:1089:15)
  at resolveExports (node:internal/modules/cjs/loader:565:14)
  at Module._findPath (node:internal/modules/cjs/loader:634:31)
  at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
  at Function.resolve (node:internal/modules/cjs/helpers:116:19)
  at Function._resolve [as resolve] (node_modules/jiti/dist/jiti.js:1:241025)
  at resolveModule (node_modules/@nuxt/kit/dist/index.mjs:260:29)
  at normalizeModule (node_modules/@nuxt/kit/dist/index.mjs:474:18)
  at installModule (node_modules/@nuxt/kit/dist/index.mjs:449:47)

npm ERR! code 1
npm ERR! path /PROJECT_PATH
npm ERR! command failed
npm ERR! command sh -c nuxt prepare
jvhellemondt commented 1 year ago

Whoops! Thanks for the PR. I didn't see the PR, as such I fixed it with 0.2.19 release.