stackblitz / core

Online IDE powered by Visual Studio Code ⚡️
https://stackblitz.com
MIT License
10.18k stars 885 forks source link

Stackblitz installs newer dependencies randomly which breaks my project #3038

Open scott-cornwell opened 2 months ago

scott-cornwell commented 2 months ago

I had a working React 16.8.6 project with mobx. After pasting some components from another project into my project I had errors, and after fixing these, saving, and refreshing the window a few times (it doesn't seem to update anymore if there are missing imports without an actual refresh of the entire page) my project is completely broken because it has somehow now installed react@18.3.1. My package.json still says 16.8.6 but after repeated refreshes and trying to reinstall react@16.8.6 it is still broken.

I can see both versions of react are installed in turbo_modules in the Sources panel, but I don't seem to have any actual control of my installed dependencies.