Creating a new Replit for TS code will always open a Node v16 shell, regardless of what Node version you’ve defined in your repo’s replit.nix.
If someone instinctively runs
npm i they will have a corrupt node_modules cache that will cause problems with the repo.
- No shell should auto open, or if it does, it should have the same version of NixOS / NodeJS as defined in replit.nix
cd FOLDERinto the shell should cd into said folder
- cd triggers a shell reload, clearing your bash history… ejecting you from the folder you just tried to cd into. Forcing you to type it all over again.
Steps to reproduce:
- Create a new TS repl from a repo that calls for Node 18 or higher
- switch to the automatically opened Shell tab
Bug appears at this link:
Yes, Yes, Computer