Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing field package #70

Closed
xeroxstar opened this issue Feb 9, 2022 · 1 comment
Closed

missing field package #70

xeroxstar opened this issue Feb 9, 2022 · 1 comment

Comments

@xeroxstar
Copy link

xeroxstar commented Feb 9, 2022

Hello,
Im trying to build a javascript package by following this example:

This is example how to call solver methods from javascript in browser. You need to build vrp-cli library for WebAssembly target. To do this, you can use wasm-pack:

cd vrp-cli
wasm-pack build --target web

But I am getting an error:

Error: failed to parse manifest: C:\Users\Vadim Korolov\Desktop\work\@avrora\ui\lib\examples\routing\bin\vrp\Cargo.toml
Caused by: missing field `package`

I am not an expert on rust and cant figure out how to fix it, I tried to google it but no results there...

Thank you

rustc --version = 1.58.1 (db9d1b20b 2022-01-20)
cargo --version = 1.58.0 (f01b232bc 2022-01-19)
Microsoft Windows 10 Enterprise 10.0.18363

@xeroxstar
Copy link
Author

Nevermind, somehow I didn't followed the instruction which clearly says that i have to navigate to vrp-cli folder cd vrp-cli ....

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

No branches or pull requests

1 participant