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
Triying to run the demo. I followed the instructions to do this. Did npm i at the root and /demo folder levels, and ran the two npm link commands in both folders too. Also ran npm build at the root to build the package (not in the instructions, but required).
When I run npm start I get:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
I think this is combination of a very old version of react-scripts (3.x) running on modern versions of Node. I managed to update to react-scripts version 5.x, and I got it running, but with a lot of effort. This included installing a Create React App rewiring package, so I could override some react-scripts/webpack config.
I think this is a dead end though: CRA and react-scripts are pretty much end of life at this point.
So I had a look at converting the /demo folder over to Vite, and managed to get that working. It was some effort too, but Vite is a build tool with a future, at least.
I can submit a PR if there's any interest.
The text was updated successfully, but these errors were encountered:
Triying to run the demo. I followed the instructions to do this. Did
npm i
at the root and /demo folder levels, and ran the twonpm link
commands in both folders too. Also rannpm build
at the root to build the package (not in the instructions, but required).When I run
npm start
I get:I think this is combination of a very old version of react-scripts (3.x) running on modern versions of Node. I managed to update to react-scripts version 5.x, and I got it running, but with a lot of effort. This included installing a Create React App rewiring package, so I could override some react-scripts/webpack config.
I think this is a dead end though: CRA and react-scripts are pretty much end of life at this point.
So I had a look at converting the /demo folder over to Vite, and managed to get that working. It was some effort too, but Vite is a build tool with a future, at least.
I can submit a PR if there's any interest.
The text was updated successfully, but these errors were encountered: