Nix TutorialMade with Nix
This is a tutorial about nix, the .replit file and how to nixify your favorite language.Recent comments (16)korosu5552 years ago
this has nothing to do with your tutorial necessarily, but, what i dont understand and cant seem to grasp. Why do you still see package.json and package-lock.json with packages in it while people use Nix. I would expect all the packages to be in the replit.nix file and not in package.json for example. I checked some Nix replits and they do not have [packager] in their .replit file, so i expect them in the replit.nix file. Maybe you can clarifykorosu5552 years ago
Thanks for the tutorial! I tried changing my .replit run command from the default (run = "node index.js") to yours run = ["run", "node index.js"]
i get the following error: run node index.js unable to find executable exec: "run": executable file not found in $PATH
Any idea why?
Background info: i forked nodejs 16 from https://docs.replit.com/programming-ide/getting-started-nixcdCreepArghhh2 years ago
SOMEONE MADE A NIX TUTORIAL
Working on tools for using replit better; stay tuned.