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

Warning when using Desktop.Menu #7

Open
pcharbon70-leco opened this issue Jan 28, 2025 · 2 comments
Open

Warning when using Desktop.Menu #7

pcharbon70-leco opened this issue Jan 28, 2025 · 2 comments

Comments

@pcharbon70-leco
Copy link

I encountered a compilation warning when adding use Desktop.Menu to a module.

cannot import Phoenix.HTML.sigil_e/2 because it is undefined or private

OS: Windows 11 Pro, 24H2
Elixir: 1.17.3
Otp: 27 [erts-15.2]

Deps:

      {:desktop, github: "elixir-desktop/desktop"},
      {:desktop_deployment, github: "elixir-desktop/deployment"},

      # Phoenix
      {:phoenix, "~> 1.7.18"}

Any suggestion to fix it would be appreciated.

Thanks

@dominicletz
Copy link
Contributor

Hey @pcharbon70-leco this is a problem with different Phoenix Versions. If you use a lower version it will work fine. That said with the release live-view 1.0 i'm planning to migrate this project also forward.

@pcharbon70-leco
Copy link
Author

Thank you for the clarification. Great work by the way!
As a windows application developer I am so glad I can finally use Elixir instead of C# on the desktop.
Very much appreciate all your hard work.

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