Laravel deploy
jeanikt
TRIALOP

2 years ago

I'm trying to upload a laravel breeze project but it's always showing the following error: ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 126

Error: Docker build failed my packet.json looks like this {

"private": true,

"type": "module",

"scripts": {

"dev": "vite",

"build": "vite build && vite build --ssr"

},

"devDependencies": {

"@headlessui/react": "^2.0.0",

"@inertiajs/react": "^1.0.0",

"@tailwindcss/forms": "^0.5.3",

"@vitejs/plugin-react": "^4.2.0",

"autoprefixer": "^10.4.12",

"axios": "^1.6.4",

"laravel-vite-plugin": "^1.0",

"postcss": "^8.4.31",

"react": "^18.2.0",

"react-dom": "^18.2.0",

"tailwindcss": "^3.2.1",

"vite": "^5.0"

},

"dependencies": {

"@radix-ui/react-icons": "^1.3.0",

"@radix-ui/react-slot": "^1.1.0",

"class-variance-authority": "^0.7.0",

"clsx": "^2.1.1",

"react-scroll": "^1.9.0",

"tailwind-merge": "^2.4.0",

"tailwindcss-animate": "^1.0.7"

}

}

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...