39 Replies
Project ID:
N/A
+ will it still run even if i dont hv any hours
No, your projects will stop
Your hours will be refreshed on the first of the month
so every month i get 500 hours?
yes.
oh thank you
i also had another question like if i run 2 projects at a time will my hours get used up x2?
nope, your hours will deplete at the same rate with 1 or 10 services
oh
thanks
oh? that's a good thing lol
also how to access locahhost80
now i can run more projects lol
it doesnt consume much ram anyways
gonna need more context
i mean
what if i hosted a website on locahhost80
and how to view the website
please read all of this
https://docs.railway.app/troubleshoot/fixing-common-errors
i didnt figure out what to do
couldnt*
please read ALL of it
everything you need to know is in there
once that's all done, you only need to generate a domain in the service settings
ohh
i'll try that thanks
so what is your application maybe I can give more specific tips?
bot stuff and website for it maybe
nvm i got all the help needed
thanks for your time
help was in the docs page i linked 🙂
i saw it
and thanks
no problem!
i hv another question
i want my code to run
npm i
at the start of the code
how do i do thtwhy
npm i
vs the default npm ci
the node_modules folder wont get defined
please elaborate because
npm ci
does download node_modulesuh
so its default
?
yes
what seems to be the issue
my friend told me to just put the node_modules file
directly into my repo
absolutely never do that
shit lol
so remove it ig?
uncaughtException Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v10' is not defined by "exports" in /app/node_modules/discord-api-types/package.json
at new NodeError (node:internal/errors:387:5)
this is my error
you should never want to commit your node_modules folder to github/railway
alr lemme remove
do you have a .gitignore file?
prob not
create a
.gitignore
file with the contents from this link
https://www.toptal.com/developers/gitignore/api/node
(create that file in your project)i do
^
THANKS IT SEEMS TO BE WORKING NOW
awesome!