How to remove files/folders

Hi, im new in railway and i have to remove my node_modules folder because i get some issues. It seems like railway dont give ssh and ftp access. How i suppose to do ? thank you
33 Replies
Percy
Percy13mo ago
Project ID: N/A
leodidier_dev
leodidier_dev13mo ago
N/A
Brody
Brody13mo ago
you would want to put node_modules/ in your .gitignore file
leodidier_dev
leodidier_dev13mo ago
It's already there, I'd like to delete the one created by the previous build
Brody
Brody13mo ago
put node_modules/ in your .gitignore file remove the folder from the repo push your new .gitignore file
leodidier_dev
leodidier_dev13mo ago
nodes_modules isnt in my repo. Its only on the server
Brody
Brody13mo ago
if its not in your repo, then it wont be in the next deployment storage isnt persistent, so whatever was in your previous build is replaced with whatever is in the repo
leodidier_dev
leodidier_dev13mo ago
oooh ok, i get it
leodidier_dev
leodidier_dev13mo ago
maybe you have an idea with this so ?
leodidier_dev
leodidier_dev13mo ago
i dont have the pb in local and the previous build was good with same package
Brody
Brody13mo ago
share your repo please
leodidier_dev
leodidier_dev13mo ago
GitHub
GitHub - leodidier-dev/napoleon_api
Contribute to leodidier-dev/napoleon_api development by creating an account on GitHub.
leodidier_dev
leodidier_dev13mo ago
my last change was fews month ago, i dont get it
Brody
Brody13mo ago
use railways strapi template https://railway.app/template/strapi
leodidier_dev
leodidier_dev13mo ago
its already one
Want results from more Discord servers?
Add your server