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
Describe the bug
I am trying to add new functionality to the VM but have encountered a problem during the build and link process. Specifically, I'm seeing the error react.development.js:1622 Uncaught TypeError: Cannot read properties of null (reading 'useState'). It seems as though there might be two versions of React running concurrently, although react and react-dom are peer dependencies on the VM project.
In /near-discovery, ran pnpm link ../vm and then pnpm dev.
Expected behavior
My expectation was to build and link the VM successfully with the 'near-discovery' project, allowing me to continue with my implementation of new functionality.
Actual results
However, I've run into a TypeError during the build process as outlined above. This issue is preventing me from proceeding with my work.
I suspect the error might be due to conflicting versions of React, but I'm unsure of how to resolve this issue.
Additional context
Any help with debugging this issue would be greatly appreciated. If more information is required, please let me know.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to add new functionality to the VM but have encountered a problem during the build and link process. Specifically, I'm seeing the error
react.development.js:1622 Uncaught TypeError: Cannot read properties of null (reading 'useState')
. It seems as though there might be two versions of React running concurrently, althoughreact
andreact-dom
are peer dependencies on the VM project.Environment
To Reproduce
I've followed these steps:
pnpm i
on both/vm
and/near-discovery
./vm
, ranpnpm build
./near-discovery
, ranpnpm link ../vm
and thenpnpm dev
.Expected behavior
My expectation was to build and link the VM successfully with the 'near-discovery' project, allowing me to continue with my implementation of new functionality.
Actual results
However, I've run into a TypeError during the build process as outlined above. This issue is preventing me from proceeding with my work.
I suspect the error might be due to conflicting versions of React, but I'm unsure of how to resolve this issue.
Additional context
Any help with debugging this issue would be greatly appreciated. If more information is required, please let me know.
The text was updated successfully, but these errors were encountered: