how to install a package?
i updated my project and added new packages and idk how to install there is no console or shell
8 Replies
Project ID:
N/A
You have to add them using nixpacks. You can find the packs you need here: https://search.nixos.org/packages and then install them with npm ci.
⚠️ experimental feature
What language
Js
The packages would be added in the package.json and package-lock.json files after you installed the packages locally for your project
and the pack does not exist on nixpacks
Yes, bot is wrong
Yep, if you install packages locally with
npm install --save <package>
or just npm i <package>
, Railway will detect those and automatically install them.