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

Dioxus.toml file did not take effect #3497

Open
cj495840252 opened this issue Jan 4, 2025 · 1 comment
Open

Dioxus.toml file did not take effect #3497

cj495840252 opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Milestone

Comments

@cj495840252
Copy link

Problem

Dioxus.toml file did not take effect

../test-dx % dx build 
   0. 2s  INFO Building project...
   0.203s ERROR err=Other(No platform was specified and could not be auto-detected. Please specify a platform 
with `--platform <platform>` or set a default platform using a cargo feature.) 

Steps to reproduce the behavior:

  • 1.dx new
  • 2.modify Dioxus.toml
  • 3.dx build

Expected behavior

will generate a dist folder

Screenshots
image

Environment:

  • Dioxus version: 0.6.1
  • Rust version: 1.83.0
  • OS info: macos 14.4
  • App platform: web
@ealmloff
Copy link
Member

ealmloff commented Jan 6, 2025

The default platform setting was removed from the Dioxus.toml. See #3368

DioxusLabs/docsite#371 removes this field from the docs

@ealmloff ealmloff added the cli Related to the dioxus-cli program label Jan 6, 2025
@jkelleyrtp jkelleyrtp added the bug Something isn't working label Jan 7, 2025
@jkelleyrtp jkelleyrtp added this to the 0.6.2 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Projects
None yet
Development

No branches or pull requests

3 participants