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

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

5 Replies

2 years ago

Please attach your full build logs -

https://bookmarklets.up.railway.app/log-downloader/


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


andrei-1111
HOBBYOP

2 years ago

Hello, here's the log. Thanks

Attachments


2 years ago

yeah, it is an unknown feature for that target


2 years ago

What does the user need to do to remedy this issue?


Loading...