react_vue_ts icon indicating copy to clipboard operation
react_vue_ts copied to clipboard

Cannot run simple example in Nuxt 3 due to missing dependency

Open Jesus82 opened this issue 1 year ago • 0 comments

Thanks a lot @tachyon-ops for maintaining this package. I'm trying to use it to display a basic React component in Nuxt3, but I'm getting the same error than in #10

[ERROR] Could not resolve "uuid"
node_modules/vuera-ts/dist/wrappers/ReactWrapper.js:4:19:
import { v4 } from "uuid";

You can mark the path "uuid" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.

I tried to simply install the "uuid" library, but then there are more dependency errors due to imports.

I leave here a basic reproduction. Any help would be much appreciated. Cheers!

Jesus82 avatar Aug 07 '24 14:08 Jesus82