Error deploying Leptos from railway starter template
andrei-1111
HOBBYOP
2 years ago
Deployed using this: https://railway.app/template/pduaM5?referralCode=fZ-SY1
Error:
92.17 error: could not compile `ahash` (lib) due to 1 previous error
92.17 warning: build failed, waiting for other jobs to finish...
108.2 Cargo process finished with code Some(101)
108.2 Error: Failed to build leptos-railway
-----
Dockerfile:18
-------------------
16 | COPY . .
17 |
18 | >>> RUN cargo leptos build --release -vv
19 |
20 | FROM rustlang/rust:nightly-alpine as runner
-------------------
ERROR: failed to solve: process "/bin/sh -c cargo leptos build --release -vv" did not complete successfully: exit code: 1ⓘ Deployment information is only viewable by Project members and Railway admins.
5 Replies
milo
MODERATOR
2 years ago
i've just deployed this template and it appears like it is attempting to use SIMD which isn't available for the webassembly target iirc