remesh icon indicating copy to clipboard operation
remesh copied to clipboard

Module not found: Error: Can't resolve 'use-sync-external-store/shim' in '/project/remesh-example/node_modules/remesh-react/esm'

Open soakit opened this issue 1 year ago • 1 comments

image

soakit avatar Sep 23 '23 04:09 soakit

这个是已知问题,remesh-react 以 esm 形式被使用,但 react 的一个包是 cjs 的。可以用 4.0 最新版本,默认 cjs 输出。

或者使用 remesh-react/cjs 指定使用 cjs 版本。

Lucifier129 avatar Sep 23 '23 08:09 Lucifier129