Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

input example fails to build #32

Open
Boscop opened this issue Nov 21, 2018 · 0 comments
Open

input example fails to build #32

Boscop opened this issue Nov 21, 2018 · 0 comments

Comments

@Boscop
Copy link

Boscop commented Nov 21, 2018

error: expected one of: `<`, curly braces, string literal
  --> examples\input\src\lib.rs:17:13
   |
17 |             Name: <input @input={Self::on_input}/>
   |             ^^^^

error: aborting due to previous error

error: Could not compile `input`.

To learn more, run the command again with --verbose.
  ←[1;32mGenerating←[0m JS bindings
error: failed to read `D:\3rdparty\ruukh\target/wasm32-unknown-unknown\debug\inp
ut.wasm`
        caused by: The system cannot find the file specified. (os error 2)
     ←[1;32mServing←[0m at http://localhost:3000

It works when I remove Name:.

(Btw, maybe the web server shouldn't be started when the build failed.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant