Dependency handling in boilerplates on Replit, and update status for Python Projects
See original GitHub issueDescribe the Issue
When using boilerplate code forked to the replit, replit used to install dependencies on the first run using the standard packager. That’s not a case anymore for the boilerplates, probably due to some missing required configuration. Replit seems to have changed their dependency handling, relying more on the replit.nix file defining the environment. This affects both JS and Python boilerplates.
Temporal workarounds
JS
npm install seems to do the job, when run manually. It doesn’t run when loading replit or pressing the Run button.
Python
Manual trying to use poetry install doesn’t seem to work. Changing replit.nix (added by the replit on forking) and adding required modules to the deps does the trick, for example, the Arithmetic Formatter requires adding
pkgs.python38Packages.pytest
Medical Data Visualizer at least:
pkgs.python38Packages.pandas
pkgs.python38Packages.seaborn
I wasn’t able to make poetry work, even after adding poetry package to the replit.nix, the poetry install installation was interrupted by error.
Affected Page
https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/arithmetic-formatter https://www.freecodecamp.org/learn/back-end-development-and-apis/basic-node-and-express/meet-the-node-console
Your code
N/A
Expected behavior
Ideally camper should not be required to make any manual actions to use the dependencies required by boilerplate.
Screenshots
No response
System
N/A
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:37 (37 by maintainers)

Top Related StackOverflow Question
There are two more python projects in the Information Security, but they also don’t need additional dependencies.
Also, just in case anyone missed it I did open an issue for this. Just in case we want to talk about it more in-depth without “polluting” this issue.
https://github.com/freeCodeCamp/freeCodeCamp/issues/46885