R
Railway10mo ago
0xaryan

build failing

18545f38-d91f-4a7e-9ace-018029293451
{
"name": "sticky",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@types/jsonwebtoken": "^9.0.5",
"nodemon": "^3.0.2",
"prisma": "^5.8.1",
"typescript": "^5.3.3"
},
"dependencies": {
"@farcaster/hub-web": "^0.7.2",
"@prisma/client": "^5.8.1",
"@solana/spl-memo": "^0.2.3",
"@solana/web3.js": "^1.88.0",
"@types/express": "^4.17.21",
"@upstash/redis": "^1.28.2",
"axios": "^1.6.5",
"bs58": "^5.0.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"tweetnacl": "^1.0.3",
"web3": "^4.3.0"
},
"scripts": {
"build": "tsc",
"start": "node dist/app.js",
"dev": "nodemon src/app.ts"
}
}
{
"name": "sticky",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@types/jsonwebtoken": "^9.0.5",
"nodemon": "^3.0.2",
"prisma": "^5.8.1",
"typescript": "^5.3.3"
},
"dependencies": {
"@farcaster/hub-web": "^0.7.2",
"@prisma/client": "^5.8.1",
"@solana/spl-memo": "^0.2.3",
"@solana/web3.js": "^1.88.0",
"@types/express": "^4.17.21",
"@upstash/redis": "^1.28.2",
"axios": "^1.6.5",
"bs58": "^5.0.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"tweetnacl": "^1.0.3",
"web3": "^4.3.0"
},
"scripts": {
"build": "tsc",
"start": "node dist/app.js",
"dev": "nodemon src/app.ts"
}
}
11 Replies
Percy
Percy10mo ago
Project ID: 18545f38-d91f-4a7e-9ace-018029293451
0xaryan
0xaryan10mo ago
hey - bringing this up
Brody
Brody10mo ago
can you try to set engines.node to 20 in your package.json
0xaryan
0xaryan10mo ago
hey - it's still failing
Brody
Brody10mo ago
same issue?
Brody
Brody10mo ago
try adding a nixpacks.toml to your project with this in it
[phases.setup]
nixPkgs = ['...', 'python3', 'gcc']
[phases.setup]
nixPkgs = ['...', 'python3', 'gcc']
0xaryan
0xaryan10mo ago
tried with the nixpacks, same issue
Brody
Brody10mo ago
then I would recommend trying a dockerfile based build
0xaryan
0xaryan10mo ago
docker worked, thanks
Brody
Brody10mo ago
awsome
Want results from more Discord servers?
Add your server