Costin
Costin
RRailway
Created by Costin on 11/14/2024 in #✋|help
How do I add the --legacy-peer-deps flag during npm install?
^title
5 replies
RRailway
Created by Costin on 9/28/2024 in #✋|help
Error when deploying a nextjs app
#10 22.85 npm ERR! code 1 #10 22.85 npm ERR! path /app/node_modules/usb #10 22.85 npm ERR! command failed #10 22.85 npm ERR! command sh -c node-gyp-build #10 22.85 npm ERR! gyp info it worked if it ends with ok #10 22.85 npm ERR! gyp info using [email protected] #10 22.85 npm ERR! gyp info using [email protected] | linux | x64 #10 22.85 npm ERR! gyp ERR! find Python #10 22.85 npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration #10 22.85 npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON #10 22.85 npm ERR! gyp ERR! find Python checking if "python3" can be used #10 22.85 npm ERR! gyp ERR! find Python - executable path is "" #10 22.85 npm ERR! gyp ERR! find Python - "" could not be run #10 22.85 npm ERR! gyp ERR! find Python checking if "python" can be used #10 22.85 npm ERR! gyp ERR! find Python - executable path is "" #10 22.85 npm ERR! gyp ERR! find Python - "" could not be run #10 22.85 npm ERR! gyp ERR! find Python #10 22.85 npm ERR! gyp ERR! find Python ** #10 22.85 npm ERR! gyp ERR! find Python You need to install the latest version of Python. #10 22.85 npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not, #10 22.85 npm ERR! gyp ERR! find Python you can try one of the following options: #10 22.85 npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable" #10 22.85 npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm) #10 22.85 npm ERR! gyp ERR! find Python - Set the environment variable PYTHON #10 22.85 npm ERR! gyp ERR! find Python - Set the npm configuration variable python: #10 22.85 npm ERR! gyp ERR! find Python npm config set python "/path/to/pythonexecutable" #10 22.85 npm ERR! gyp ERR! find Python For more information consult the documentation at: #10 22.85 npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation #10 22.85 npm ERR! gyp ERR! find Python ** #10 22.85 npm ERR! gyp ERR! find Python #10 22.85 npm ERR! gyp ERR! configure error #10 22.85 npm ERR! gyp ERR! stack Error: Could not find any Python installation to use #10 22.85 npm ERR! gyp ERR! stack at PythonFinder.fail (/nix/store/kr6p8nmj3y4wmfm3q6f0j8yd2zb2lxaj-nodejs-18.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:306:11) #10 22.85 npm ERR! gyp ERR! stack at PythonFinder.findPython (/nix/store/kr6p8nmj3y4wmfm3q6f0j8yd2zb2lxaj-nodejs-18.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:164:17) #10 22.85 npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5) #10 22.85 npm ERR! gyp ERR! stack at async configure (/nix/store/kr6p8nmj3y4wmfm3q6f0j8yd2zb2lxaj-nodejs-18.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:23:18) #10 22.85 npm ERR! gyp ERR! stack at async run (/nix/store/kr6p8nmj3y4wmfm3q6f0j8yd2zb2lxaj-nodejs-18.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18) #10 22.85 npm ERR! gyp ERR! System Linux 6.1.0-25-cloud-amd64 #10 22.85 npm ERR! gyp ERR! command "/nix/store/kr6p8nmj3y4wmfm3q6f0j8yd2zb2lxaj-nodejs-18.20.2/bin/node" "/nix/store/kr6p8nmj3y4wmfm3q6f0j8yd2zb2lxaj-nodejs-18.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" #10 22.85 npm ERR! gyp ERR! cwd /app/node_modules/usb #10 22.85 npm ERR! gyp ERR! node -v v18.20.2 #10 22.85 npm ERR! gyp ERR! node-gyp -v v10.0.1 #10 22.85 npm ERR! gyp ERR! not ok #10 22.85 #10 22.85 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-09-28T23_49_28_468Z-debug-0.log
9 replies
RRailway
Created by Costin on 6/30/2024 in #✋|help
1 member seats? Wat dis mean?
No description
17 replies
RRailway
Created by Costin on 6/23/2024 in #✋|help
[GENERAL QUESTION] Regarding setting up cloudflare
So we're a bit lost when it comes to network security. Basically what's going on is that we have a running backend app > aaaand we're expecting to be DDoS-ed 1 or 2 times > which lead us to setting up cloudflare. Now, we don't know if setting up this https://railway.app/template/cf-tunnel would do the job and (in case of yes) if there's anyone willing to help us, whether as a paid Railway service or what not (We're not trying to stretch the ToS or anything, we just don't know whats allowed and what not to ask/do in here)
38 replies
RRailway
Created by Costin on 6/20/2024 in #✋|help
"m is not a function" when trying to delete a row from a Postgres DB
Basically title
8 replies
RRailway
Created by Costin on 3/1/2024 in #✋|help
Pay today whatever I have to pay and move the automatic payment date to March 1st
^ Basically title.
7 replies
RRailway
Created by Costin on 2/13/2024 in #✋|help
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
No description
6 replies
RRailway
Created by Costin on 8/27/2023 in #✋|help
Do you guys have prepaid options?
Say I pay 5$ once and I get to use those 5$ worth of resources all year round. I'd rather do that than use VPN & diff github account every few months to renew my trial
13 replies