You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are using vite as a bundler to bundle our application. We installed this package in our codebase and developed the react component using the example given on the npm page.
Issue:
Now, Vite is giving us an error at build time which is as follows:
Package subpath 'undefined' is not defined by "exports" in <project_path>/node_modules/@sayari/trellis/package.json.
which is true since this package has not exported the @sayari/trellis/bindings/react/renderer and @sayari/trellis/layout/force modules.
The text was updated successfully, but these errors were encountered:
@malavshah9 I suggest trying the 0.6.0 release instead of the latest (0.6.1) release. I was just updating a project I worked on last year (which was using 0.4.3), and while I got that same error when using 0.6.1, things seem to work fine with 0.6.0 (no clue why, though).
Context:
we are using
vite
as a bundler to bundle our application. We installed this package in our codebase and developed the react component using the example given on the npm page.Issue:
Now, Vite is giving us an error at build time which is as follows:
which is true since this package has not exported the
@sayari/trellis/bindings/react/renderer
and@sayari/trellis/layout/force
modules.The text was updated successfully, but these errors were encountered: