Skip to content

deno: can't install Vuetify module #824

Open
@d9k

Description

@d9k

App created with

deno -A npm:nuxi@latest init

When I try

deno run -A npm:nuxi@latest module add vuetify-nuxt-module

I get an error:

Could not find referrer npm package 'file:///home/d9k/cr/demo/nuxt-eshop-demo/node_modules/.deno/[email protected]/node_modules/jiti/dist/babel.cjs'.

More error log:

ℹ Resolved vuetify-nuxt-module, adding module...                       nuxi  9:05:28 AM
ℹ vuetify-nuxt-module is already installed                             nuxi  9:05:28 AM
ℹ Adding vuetify-nuxt-module to the modules                            nuxi  9:05:28 AM

[9:05:28 AM]  ERROR  Could not find referrer npm package 'file:///home/d9k/cr/demo/nuxt-eshop-demo/node_modules/.deno/[email protected]/node_modules/jiti/dist/babel.cjs'.

    at async import (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/shared/nuxi.C4l48OVX.mjs:33:199906)
    at async node_modules/.deno/@[email protected]/node_modules/@nuxt/kit/dist/index.mjs:13:13
    at async Function.import (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/shared/nuxi.C4l48OVX.mjs:33:199906)
    at async loadKit (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/shared/nuxi.BxIDvNqq.mjs:26:15)
    at async Object.run (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/chunks/prepare.mjs:46:49)
    at async runCommand$1 (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/shared/nuxi.B1IlPxHz.mjs:1764:16)
    at async runCommand (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/shared/nuxi.B1IlPxHz.mjs:3541:10)
    at async Object.setup (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/chunks/add2.mjs:157:7)
    at async runCommand$1 (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/shared/nuxi.B1IlPxHz.mjs:1736:5)
    at async runCommand$1 (/home/d9k/.cache/deno/npm/registry.npmjs.org/nuxi/3.23.1/dist/shared/nuxi.B1IlPxHz.mjs:1755:11)

When I try to deno run dev I get an error

 ERROR  Cannot start nuxt:  Cannot find module 'vuetify/package.json'   nuxi  9:15:34 AM
Require stack:
- /home/d9k/cr/demo/nuxt-eshop-demo/node_modules/.deno/@[email protected]/node_modules/@vuetify/loader-shared/dist/index.mjs

    at Function.Module._resolveFilename (node:module:617:15)
    at Function.resolve (node:module:813:19)
    at resolveVuetifyBase (node_modules/.deno/@[email protected]/node_modules/@vuetify/loader-shared/dist/index.mjs:95:31)
    at resolveVuetifyComponents (node_modules/.deno/[email protected]/node_modules/vuetify-nuxt-module/dist/module.mjs:199:23)
    at load (node_modules/.deno/[email protected]/node_modules/vuetify-nuxt-module/dist/module.mjs:440:9)
    at eventLoopTick (ext:core/01_core.js:177:7)
    at async setup (node_modules/.deno/[email protected]/node_modules/vuetify-nuxt-module/dist/module.mjs:1470:5)
    at async normalizedModule (node_modules/.deno/@[email protected]/node_modules/@nuxt/kit/dist/index.mjs:2163:17)
    at async installModule (node_modules/.deno/@[email protected]/node_modules/@nuxt/kit/dist/index.mjs:2488:276)
    at async initNuxt (node_modules/.deno/[email protected]/node_modules/nuxt/dist/shared/nuxt.DQBGBwNc.mjs:5785:5)

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