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 metadata for key package at line 13 column 1 #10

Closed
ebadta81 opened this issue Nov 21, 2022 · 4 comments
Closed

missing field metadata for key package at line 13 column 1 #10

ebadta81 opened this issue Nov 21, 2022 · 4 comments

Comments

@ebadta81
Copy link

Hi,

cargo install --locked cargo-leptos, cargo-leptos init is ok, but when I try cargo-leptos serve or build, i get the missing field `metadata` for key `package` at line 13 column 1 error message.

@ebadta81
Copy link
Author

at Error: read config: Cargo.toml

@ebadta81
Copy link
Author

After installing sass, it works.

@akesson akesson reopened this Nov 22, 2022
@akesson
Copy link
Collaborator

akesson commented Nov 22, 2022

I want to keep this open because I need to improve the error message when the config section is missing in Cargo.toml.

After installing sass, it works.

This shouldn't be related to the Error: read config: Cargo.toml. And sass should be automatically installed if not already installed.

@akesson
Copy link
Collaborator

akesson commented Nov 22, 2022

@ebadta81
It would be of great help if you could uninstall sass and run it again with cargo leptos serve -vv and add the output here.

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

2 participants