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
Project ID:
36b7ed87-018a-4331-b622-e608958a6ec4
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.
please share your full build logs
Local ^
same code
what version of node are you using locally and what version is railway using
ontext: 04be27bdfb0ba154e8d71b8dc377adde
╔═════════ Nixpacks v1.11.0 ════════╗
║ setup │ nodejs-16_x, npm-9_x ║
║───────────────────────────────────║
║ install │ npm i ║
║───────────────────────────────────║
║ build │ npm run build ║
║───────────────────────────────────║
║ start │ npm run start
what version of node are you using locally
v16.15.0
try setting
NIXPACKS_NO_CACHE
= 1
where is that
should I create a file
my bad, set that as a service variable
where is that exactly?
in the variables
ok
failed again
send your package.json please
{
"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
awesome