-
Hi there, "dependencies": { Error on Build: error Build error: @ ./node_modules/@itwin/presentation-core-interop/lib/esm/core-interop/Metadata.js |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
What bunder are you using, and what exact versions of the following packages (from the lockfile please, not your
|
Beta Was this translation helpful? Give feedback.
-
This is a false positive by your bundler. We're importing in a specific way to check existence of an API, and that is completely legit code, but your bundler thinks it's a problem. The problem will just go away when you upgrade itwinjs-core deps to 5.0, because the API does exist there. In the meantime, I found this, which I think you could use: https://rsbuild.dev/guide/faq/exceptions#compilation-errorexport-foo-imported-as-foo-was-not-found-in-utils. Maybe there are other options, I'm no bundlers' expert to tell. |
Beta Was this translation helpful? Give feedback.
-
This is now resolved in the latest templates, please try again. |
Beta Was this translation helpful? Give feedback.
This is now resolved in the latest templates, please try again.