composer-suite icon indicating copy to clipboard operation
composer-suite copied to clipboard

UniformUnit from shader-composer-r3f reports an error under commonjs.

Open lazy1523 opened this issue 3 years ago • 3 comments

Stacks: Uncaught SyntaxError: The requested module '/node_modules/react-reconciler/constants.js?v=8a72348b' does not provide an export named 'ConcurrentRoot'

How do I handle it gracefully?

lazy1523 avatar Oct 05 '22 09:10 lazy1523

Can you share some more details about your project (or the backtrace)? Neither Shader Composer nor any other libraries in this suite interact with ConcurrentRoot directly, so at the moment that sounds more like an issue around React/R3F to me.

hmans avatar Oct 05 '22 11:10 hmans

You likely have mismatched versions of react, react-dom, and/or R3F. iirc that constant no longer exists in React 18.

CodyJasonBennett avatar Oct 08 '22 18:10 CodyJasonBennett

thanks


发件人: Cody Bennett @.> 发送时间: 2022年10月9日 2:21 收件人: hmans/composer-suite @.> 抄送: zisu @.>; Author @.> 主题: Re: [hmans/composer-suite] UniformUnit from shader-composer-r3f reports an error under commonjs. (Issue #320)

You likely have mismatched versions of react, react-dom, and/or R3F. iirc that constant no longer exists in React 18.

― Reply to this email directly, view it on GitHubhttps://github.com/hmans/composer-suite/issues/320#issuecomment-1272373084, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AESLOPE7PRDID23UHPTHE63WCG3TRANCNFSM6AAAAAAQ5NCMF4. You are receiving this because you authored the thread.Message ID: @.***>

lazy1523 avatar Oct 10 '22 03:10 lazy1523