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

WebAssembly App hosted on Azure Static Apps, fail to build and deploy when LiveCharts is added #1734

Open
hbraasch opened this issue Dec 19, 2024 · 1 comment

Comments

@hbraasch
Copy link

hbraasch commented Dec 19, 2024

A WebAssembly App with LiveCharts hosted on Azure Static Web Apps, fails to build and deploy.

The WebAssembly App is created under UNO and the charts work perfectly under all platforms, when building it on my desktop using Visual Studio.

However, when publishing the WebAssembly App to Azure Static Web Apps via Github, the build process in the GitHub [Action] fails.

If the graphs are removed, and the library livechartscore.skiasharpview.uno.winui is removed, the build THEN succeeds and the app gets published successfully .

The exception in the build reads:

Downloading dotnet-runtime-wasm-linux-498e18e-7331dcb60e0-8790049905-Release-simd to /tmp/dotnet-runtime-wasm-linux-498e18e-7331dcb60e0-8790049905-Release-simd.zip
chmod: cannot access '/tmp/dotnet-runtime-wasm-linux-498e18e-7331dcb60e0-8790049905-Release-simd/.lock': No such file or directory

Any idea why this happens? I'm sure I'm not the first one hosting a web assembly app with LiveCharts on Azure Static Web Apps.

I know this is not a direct LiveCharts issue but help would be much appreciated. Maybe someone with some GitHub [Action] experience could suggest something?

Thanks

To Reproduce
A demo project can be found here: https://github.com/hbraasch/UnoChartTester.git

See the failed action at: https://github.com/hbraasch/UnoChartTester/actions
Click on it to see the error description.

@hbraasch hbraasch changed the title WebAssembly App with LiveCharts hosted on Azure Static Apps fail to build and deploy WebAssembly App hosted on Azure Static Apps, fail to build and deploy when LiveCharts is added Dec 19, 2024
@hbraasch
Copy link
Author

Can it be because LiveChartsCore.SkiaSharpView.Uno.WinUI is still a pre-release Nuget and Github cannot access it?

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