Having issues with build

Cant replicate a build failure locally, it looks like the build system may be using. a cache that is invalid
21 Replies
Percy
Percy17mo ago
Project ID: 36b7ed87-018a-4331-b622-e608958a6ec4
Shakibaba
ShakibabaOP17mo ago
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Brody
Brody17mo ago
please share your full build logs
Shakibaba
ShakibabaOP17mo ago
Shakibaba
ShakibabaOP17mo ago
same code
Brody
Brody17mo ago
what version of node are you using locally and what version is railway using
Shakibaba
ShakibabaOP17mo ago
ontext: 04be27bdfb0ba154e8d71b8dc377adde  ╔═════════ Nixpacks v1.11.0 ════════╗ ║ setup │ nodejs-16_x, npm-9_x ║ ║───────────────────────────────────║ ║ install │ npm i ║ ║───────────────────────────────────║ ║ build │ npm run build ║ ║───────────────────────────────────║ ║ start │ npm run start
Brody
Brody17mo ago
what version of node are you using locally
Shakibaba
ShakibabaOP17mo ago
v16.15.0
Brody
Brody17mo ago
try setting NIXPACKS_NO_CACHE = 1
Shakibaba
ShakibabaOP17mo ago
where is that should I create a file
Brody
Brody17mo ago
my bad, set that as a service variable
Shakibaba
ShakibabaOP17mo ago
where is that exactly? in the variables
Brody
Brody17mo ago
Shakibaba
ShakibabaOP17mo ago
ok
Shakibaba
ShakibabaOP17mo ago
failed again
Brody
Brody17mo ago
send your package.json please
Shakibaba
ShakibabaOP17mo ago
{ "name": "pocketshop", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "@material-tailwind/react": "^2.0.6", "@material-tailwind/react": "^2.0.1", "@react-buddy/ide-toolbox-next": "^2.4.0", "@types/node": "20.1.3", "@types/react": "18.2.6", "@types/react-dom": "18.2.4", "@types/react-slick": "^0.23.10", "autoprefixer": "10.4.14", "axios": "^1.4.0", "cross-env": "^7.0.3", "daisyui": "^2.52.0", "eslint": "8.40.0", "eslint-config-next": "13.4.2", "framer-motion": "^10.12.16", "next": "13.4.2", "postcss": "8.4.23", "react": "18.2.0", "react-confetti": "^6.1.0", "react-dom": "18.2.0", "react-slick": "^0.29.0", "react-swipeable": "^7.0.1", "react-use": "^17.4.0", "slick-carousel": "^1.8.1", "tailwindcss": "3.3.2", "typescript": "5.0.4" }, "devDependencies": { "dotenv": "^16.1.4", "react-icons": "^4.9.0" } } actually let me rm one of them yeah i think it my have been the carrot pulling a newer version let me see thanks all is good
Brody
Brody17mo ago
awesome
Want results from more Discord servers?
Add your server