Skip to content

Can't compile successfully #3

@alabulei1

Description

@alabulei1

Following the instructions from README.md, I can't compile the source code to Wasm

root@Laptop-for-JYC:/search-api-server# cargo build --target wasm32-wasi --release
    Updating git repository `https://github.com/second-state/wasi_hyper.git`
    Updating git repository `https://github.com/second-state/wasi_reqwest.git`
    Updating git repository `https://github.com/second-state/socket2.git`
    Updating git repository `https://github.com/second-state/wasi_tokio.git`
    Updating crates.io index
    Updating git repository `https://github.com/suryyyansh/LlamaEdge.git`
    Updating git repository `https://github.com/WasmEdge/wasmedge-stable-diffusion.git`
error: failed to select a version for the requirement `wasmedge_stable_diffusion = "^0.1.0"`
candidate versions found which didn't match: 0.2.0
location searched: Git repository https://github.com/WasmEdge/wasmedge-stable-diffusion.git
required by package `llama-core v0.16.0 (https://github.com/suryyyansh/LlamaEdge.git?branch=dev#e264fd20)`
    ... which satisfies git dependency `llama-core` of package `search-api-server v0.1.0 (/search-api-server)`

WasmEdge version: 0.13.5
Rust version: 1.80.1
OS: WSL Ubuntu 22.04.1 LTS

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions