Skip to content

Wrong import in components: import template from "/home/runner/work/ui/ui/src/theme/table" #4016

@Shedevro

Description

@Shedevro

Environment

  • Operating System: Darwin
  • Node Version: v22.13.0
  • Nuxt Version: -
  • CLI Version: 3.21.1
  • Nitro Version: -
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Vue

Version

v3.1.0

Reproduction

Run dev server, see terminal.

Description

Something wrong with paths in Vue project. It was working on v3.0.2

Additional context

No response

Logs

ERROR(vue-tsc)  Cannot find module '/home/runner/work/ui/ui/src/theme/input-number' or its corresponding type declarations.
 FILE  /Users/shedevro/Documents/development/projects/paragon/fe-sales/node_modules/@nuxt/ui/.nuxt/ui/input-number.ts:1:22

  > 1 | import template from "/home/runner/work/ui/ui/src/theme/input-number"
      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2 |
    3 | const color = [
    4 |   "primary",

 ERROR(vue-tsc)  Cannot find module '/home/runner/work/ui/ui/src/theme/input' or its corresponding type declarations.
 FILE  /Users/shedevro/Documents/development/projects/paragon/fe-sales/node_modules/@nuxt/ui/.nuxt/ui/input.ts:1:22

  > 1 | import template from "/home/runner/work/ui/ui/src/theme/input"
      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2 |
    3 | const buttonGroup = [
    4 |   "horizontal",

 ERROR(vue-tsc)  Cannot find module '/home/runner/work/ui/ui/src/theme/kbd' or its corresponding type declarations.
 FILE  /Users/shedevro/Documents/development/projects/paragon/fe-sales/node_modules/@nuxt/ui/.nuxt/ui/kbd.ts:1:22

  > 1 | import template from "/home/runner/work/ui/ui/src/theme/kbd"
      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2 |
    3 | const variant = [
    4 |   "solid",

 ERROR(vue-tsc)  Cannot find module '/home/runner/work/ui/ui/src/theme/modal' or its corresponding type declarations.
 FILE  /Users/shedevro/Documents/development/projects/paragon/fe-sales/node_modules/@nuxt/ui/.nuxt/ui/modal.ts:1:22

  > 1 | import template from "/home/runner/work/ui/ui/src/theme/modal"
      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2 |
    3 | const result = typeof template === 'function' ? (template as Function)({
    4 |   "prefix": "U",

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3#1289vue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions