R
Railway2y ago
00:00

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
Percy
Percy2y ago
Project ID: N/A
Percy
Percy2y ago
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
Brody
Brody2y ago
What language
00:00
00:002y ago
Js
Brody
Brody2y ago
The packages would be added in the package.json and package-lock.json files after you installed the packages locally for your project
00:00
00:002y ago
and the pack does not exist on nixpacks
Brody
Brody2y ago
Yes, bot is wrong
root
root2y ago
Yep, if you install packages locally with npm install --save <package> or just npm i <package>, Railway will detect those and automatically install them.
Want results from more Discord servers?
Add your server