Skip to content

Problem when importing @muix/x-data-grid #64

@gmzacharydovel

Description

@gmzacharydovel

The plugin doesn't seem to use the correct path for the the x-data-grid package. I'm not really sure why and this just started happening the last few days.

i16:12:22 [vite] Internal server error: Failed to resolve import "/Users/me/Development/online-ordering-platform/node_modules/.deno/@mui+x-data-grid@8.4.0_1/node_modules/@mui/x-data-grid/esm/index.css" from ".vite/deps/@mui_x-data-grid.js?v=5f8995f3". Does the file exist?
  Plugin: vite:import-analysis
  File: /Users/me/Development/online-ordering-platform/frontend/.vite/deps/@mui_x-data-grid.js?v=5f8995f3:1284:9
  1282|
  1283|  // ../node_modules/.deno/@mui+x-data-grid@8.4.0_1/node_modules/@mui/x-data-grid/esm/DataGrid/index.js
  1284|  import "/Users/me/Development/online-ordering-platform/node_modules/.deno/@mui+x-data-grid@8.4.0_1/node_modules/@mui/x-data-grid/esm/index.css";
     |          ^
  1285|
  1286|  // ../node_modules/.deno/@mui+x-data-grid@8.4.0_1/node_modules/@mui/x-data-grid/esm/DataGrid/DataGrid.js

The actual path is:

/Users/me/Development/ordering-platform/node_modules/.deno/@mui+x-data-grid@8.4.0/node_modules/@mui/x-data-grid/esm/index.css

Thank you

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