Skip to content

Build failing after update to v2.0.0 #492

@johnsimons

Description

@johnsimons

Here is the output from the build:

vite build

vite v7.2.4 building client environment for production...
✓ 1267 modules transformed.
src/components/messages/FlowDiagram/useLayout.ts:1:19 - error TS7016: Could not find a declaration file for module '@dagrejs/dagre'. '/Users/xxxxx/Projects/xxxxxxx/src/Frontend/node_modules/@dagrejs/dagre/dist/dagre.esm.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/dagrejs__dagre` if it exists or add a new declaration (.d.ts) file containing `declare module '@dagrejs/dagre';`

1 import dagre from "@dagrejs/dagre";

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