Skip to content

Build failing after update to v2.0.0 #492

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";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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