Skip to content

ERR_UNSUPPORTED_DIR_IMPORT when loading component that uses LineVis from @h5web/lib #1562

Closed Answered by axelboc
jacobfilik asked this question in Q&A
Discussion options

You must be logged in to vote

I've just published 10.2.0-beta.2 which removes the lodash warning, as well as another one caused by react-aria-menubutton. I've updated the original codesandbox to add Vitest and confirmed that it now works as expected: https://codesandbox.io/p/devbox/h5weblib-vite-xru04

Note that I've added "type": "module" to the sandbox' package.json to solve a deprecation warning from Vitest.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
5 replies
@jacobfilik
Comment options

@jacobfilik
Comment options

@jacobfilik
Comment options

@axelboc
Comment options

@jacobfilik
Comment options

Comment options

You must be logged in to vote
5 replies
@axelboc
Comment options

@axelboc
Comment options

Answer selected by jacobfilik
@jacobfilik
Comment options

@axelboc
Comment options

@axelboc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants