You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i get error "Type '{ children: Element; width: string; height: string; params: { backgroundColor: string; }; }' is not assignable to type 'IntrinsicAttributes & StageProps'.
Property 'children' does not exist on type 'IntrinsicAttributes & StageProps'.ts(2322)
(alias) const Stage: React.FC
It means, that in props of scene we don't have field children
The text was updated successfully, but these errors were encountered:
This is because react-ngl does not currently support the latest version of React.
However, thanks to #38, react-ngl at the latest master branch may possibly be compatible with the latest version of React.
Try installing react-ngl from the master branch as follows, for example:
npm i 'git+https://github.com/gky360/react-ngl.git'
I get error npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.13.1" from [email protected]
Is it possible to update the react version to 18?
With --legacy-peer-deps or --force I can't install it too. Get errors of many old libs. (If need, I will provide full errors)
I apologize in advance for writing this here, are you still working on this library? It’s just that there haven’t been any commits for a long time, I noticed. And do you have a telegram to contact you?
i get error "Type '{ children: Element; width: string; height: string; params: { backgroundColor: string; }; }' is not assignable to type 'IntrinsicAttributes & StageProps'.
Property 'children' does not exist on type 'IntrinsicAttributes & StageProps'.ts(2322)
(alias) const Stage: React.FC
It means, that in props of scene we don't have field children
The text was updated successfully, but these errors were encountered: