Problem description:
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.
Expected behavior:
- No shell should auto open, or if it does, it should have the same version of NixOS / NodeJS as defined in replit.nix
- Typing
cd FOLDER
into the shell should cd into said folder
Actual behavior:
- 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
- Run
node --version
Bug appears at this link:
Feathers Chat
Browser/OS/Device:
Yes, Yes, Computer