Closed finestgecko closed 2 years ago
Only the first child needs to be wrapped with hydratable
. Your error seems like there is something wrong with the actual build. The error message is not helpful, I fixed that in the latest version 2.0.1.
Thank you. That gives much more context and I have solved the problem.
[dev:*client] BuildException
[dev:*client]
[dev:*client] E_CANNOT_BUILD: Cannot build the Radonis client bundle: Build failed with 32 errors:
[dev:*client] node_modules/@microeinhundert/radonis-unocss/build/esm/src/plugin.js:13:29: ERROR: Could not resolve "fs"
[dev:*client] node_modules/@microeinhundert/radonis-unocss/build/esm/src/plugin.js:14:21: ERROR: Could not resolve "path"
[dev:*client] node_modules/@poppinss/file-generator/build/src/files/docx/index.js:12:23: ERROR: Could not resolve "path"
[dev:*client] node_modules/@poppinss/file-generator/build/src/files/docx/index.js:13:25: ERROR: Could not resolve "crypto"
[dev:*client] node_modules/@poppinss/file-generator/build/src/files/docx/index.js:14:27: ERROR: Could not resolve "fs/promises"
With the radonis-twind
plugin, it was necessary to include it in entry.client.ts
. While migrating to radonis-unocss
, I also defined the plugin in the client, but it seems to be no longer necessary. I removed it from there and the problem is solved.
As ever, thanks for your efforts with Radonis—it's one of my favourite open source projects right now.
I followed the migration steps but when I start my app, I get this error:
There isn't really much else in the way of context.
I am upgrading from 1.11.4.
Does every hydratable descendant of a
HydrationRoot
need to be wrapped inhydratable()
or just the first child?