Giter VIP home page Giter VIP logo

Comments (4)

gbj avatar gbj commented on May 27, 2024

I'm going to guess you don't have the wasm32-unknown-unknown target installed but it's very hard to tell based on the brevity of this report.

from leptos.

agaviria avatar agaviria commented on May 27, 2024

Actually this is not a bug, I was running a local server on port 3000 and had temporarily forgotten to end this server. I was thrown off by the error message. Now I get the hashbrown error because port 3001 is in use. Which is a more robust error message.

from leptos.

agaviria avatar agaviria commented on May 27, 2024

I tried to follow the compilers suggestion, You can set the port in the server integration's RenderOptions reload_port

Added this at the end of Makefile.toml within ./examples/tailwind_axum:

[RenderOptions]
port = 3000

Now it returns these errors on cargo make ci

Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0531.
error: could not compile `serde` (lib) due to 5099 previous errors
Error: Failed to build leptos-tailwind

Stack backtrace:
   0: anyhow::error::<impl anyhow::Error>::msg
   1: cargo_leptos::run::{{closure}}
   2: tokio::runtime::park::CachedParkThread::block_on
   3: tokio::runtime::context::runtime::enter_runtime
   4: cargo_leptos::main
   5: std::sys_common::backtrace::__rust_begin_short_backtrace
   6: std::rt::lang_start::{{closure}}
   7: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/core/src/ops/function.rs:284:13
   8: std::panicking::try::do_call
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/panicking.rs:552:40
   9: std::panicking::try
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/panicking.rs:516:19
  10: std::panic::catch_unwind
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/panic.rs:142:14
  11: std::rt::lang_start_internal::{{closure}}
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/rt.rs:148:48
  12: std::panicking::try::do_call
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/panicking.rs:552:40
  13: std::panicking::try
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/panicking.rs:516:19
  14: std::panic::catch_unwind
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/panic.rs:142:14
  15: std::rt::lang_start_internal
             at /rustc/90e321d82a0a9c3d0e3f180d4d17541b729072e0/library/std/src/rt.rs:148:20
  16: std::rt::lang_start
  17: <unknown>
  18: __libc_start_main
  19: _start
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

from leptos.

agaviria avatar agaviria commented on May 27, 2024

wasm32-unknown-unknown

Yep, this was the culprit. Thank you.

from leptos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.