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

dotnet new bit-todo doesn't work on Mac M1 computer #4089

Closed
1 task done
smtm2033 opened this issue Mar 16, 2023 · 8 comments · Fixed by #4167
Closed
1 task done

dotnet new bit-todo doesn't work on Mac M1 computer #4089

smtm2033 opened this issue Mar 16, 2023 · 8 comments · Fixed by #4167

Comments

@smtm2033
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

it throws exception because of the compatibility issue of LibSaasbuilder-tool on M1. Are there alternative or turnaround solution?

Expected Behavior

can create the project properly

Steps To Reproduce

dotnet new bit-todo on Mac OS M1 computer

Exceptions (if any)

Running command 'lsb src/Client/Shared'...
Sass compile directory: src/Client/Shared
Unhandled exception. LibSassHost.SassCompilerLoadException: During loading of Sass compiler error has occurred. Most likely it happened, because the 'libsass.dylib' assembly or one of its dependencies was not found. There is no LibSassHost.Native.osx-* package for the arm64 processor architecture. You can build the 'libsass.dylib' assembly for the current processor architecture by using following instructions - https://github.com/Taritsyn/LibSassHost#os-x-1. ---> System.DllNotFoundException: Unable to load shared library 'libsass' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/libsass.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/libsass.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/libsass.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.2/libsass.dylib' (no such file)

.NET Version

7.0.102

Anything else?

No response

@msynk
Copy link
Member

msynk commented Mar 16, 2023

Thanks for contacting us. We're investigating this issue.
We'll let you know if it's possible to work on this issue or not.

@msynk msynk moved this to Investigating in Support tracking Mar 16, 2023
@ysmoradi
Copy link
Member

It seems to be related to johan-v-r/LibSassBuilder#48 @msynk

@msynk
Copy link
Member

msynk commented Mar 18, 2023

@ysmoradi
can't we do something about it in the short term? or should we wait for them to fix it?

@smtm2033
Copy link
Author

Hi guys, I found DartSassBuilder can be used to replace LibSassBuilder. I have tested it runs well.

https://github.com/deanwiseman/DartSassBuilder

@ysmoradi
Copy link
Member

Hi guys, I found DartSassBuilder can be used to replace LibSassBuilder. I have tested it runs well.

https://github.com/deanwiseman/DartSassBuilder

Sounds good to me, let me try it

@msynk msynk moved this from Investigating to To do in Support tracking Mar 28, 2023
@msynk msynk added this to the 026 - Mar 2023 - 2 milestone Mar 28, 2023
@msynk msynk moved this to Todo in bit platform Mar 28, 2023
@msynk
Copy link
Member

msynk commented Mar 28, 2023

Resolving this issue has started. It will be announced when this issue is resolved.

@msynk msynk moved this from To do to Doing in Support tracking Mar 28, 2023
@msynk msynk moved this from Todo to In Progress in bit platform Mar 28, 2023
@github-project-automation github-project-automation bot moved this from Doing to Done in Support tracking Mar 28, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in bit platform Mar 28, 2023
@msynk
Copy link
Member

msynk commented Mar 28, 2023

This issue has been resolved and it will be available in the next pre-release version. It will be announced when the pre-release becomes ready.

@msynk
Copy link
Member

msynk commented May 24, 2023

The pre-release has been published. Please give it a try and give feedback.

@msynk msynk moved this from Done to Released in Support tracking May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Released
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants