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

.net 6 Process finished with exit code 137. #43

Open
ameza opened this issue Jan 26, 2022 · 3 comments
Open

.net 6 Process finished with exit code 137. #43

ameza opened this issue Jan 26, 2022 · 3 comments

Comments

@ameza
Copy link

ameza commented Jan 26, 2022

The application hangs with a 137 after I upgraded to .net 6 OSX arm

    <PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.348" />
    <PackageReference Include="LigerShark.WebOptimizer.Sass" Version="3.0.82-beta" />

      services.AddWebOptimizer(pipeline =>
            {
                pipeline.AddScssBundle("/css/all.css", "/css/partials/*.scss", "/css/global.scss");
            });
@ameza
Copy link
Author

ameza commented Jan 26, 2022

With lower versions, the error I get is file not found in this folder /css/partials/*.scss, this worked just fine in .net core 3.1 in windows, currently on mac arm, thanks

@omerkoseoglu
Copy link

omerkoseoglu commented Feb 14, 2022

Error detail:

TypeLoadException: Cannot load ClearScript V8 library. Load failure information for ClearScriptV8.osx-arm64.dylib:
/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/runtimes/osx-arm64/native/ClearScriptV8.osx-arm64.dylib: Unable to load shared library '/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/runtimes/osx-arm64/native/ClearScriptV8.osx-arm64.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/runtimes/osx-arm64/native/ClearScriptV8.osx-arm64.dylib, 0x0001): tried: '/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/runtimes/osx-arm64/native/ClearScriptV8.osx-arm64.dylib' (no such file), '/usr/local/lib/ClearScriptV8.osx-arm64.dylib' (no such file), '/usr/lib/ClearScriptV8.osx-arm64.dylib' (no such file)
/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/ClearScriptV8.osx-arm64.dylib: Unable to load shared library '/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/ClearScriptV8.osx-arm64.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/ClearScriptV8.osx-arm64.dylib, 0x0001): tried: '/Users/omer/RiderProjects/companyweb/CompanyWeb/bin/Debug/net6.0/ClearScriptV8.osx-arm64.dylib' (no such file), '/usr/local/lib/ClearScriptV8.osx-arm64.dylib' (no such file), '/usr/lib/ClearScriptV8.osx-arm64.dylib' (no such file)
/System/ClearScriptV8.osx-arm64.dylib: Unable to load shared library '/System/ClearScriptV8.osx-arm64.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(/System/ClearScriptV8.osx-arm64.dylib, 0x0001): tried: '/System/ClearScriptV8.osx-arm64.dylib' (no such file), '/usr/local/lib/ClearScriptV8.osx-arm64.dylib' (no such file), '/usr/lib/ClearScriptV8.osx-arm64.dylib' (no such file)
Microsoft.ClearScript.V8.V8Proxy.LoadNativeLibrary(string baseName, string platform, string architecture, string extension)

JsEngineLoadException: Failed to create instance of the V8JsEngine. Most likely it happened, because the 'ClearScriptV8.osx-arm64.dylib' assembly or one of its dependencies was not found. Try to install the Microsoft.ClearScript.V8.Native.osx-arm64 package via NuGet.
JavaScriptEngineSwitcher.V8.V8JsEngine..ctor(V8Settings settings)

SassCompilerLoadException: During loading of Sass compiler error has occurred. Failed to create instance of the V8JsEngine. Most likely it happened, because the 'ClearScriptV8.osx-arm64.dylib' assembly or one of its dependencies was not found. Try to install the Microsoft.ClearScript.V8.Native.osx-arm64 package via NuGet.
DartSassHost.SassCompiler.InitializeCompiler()

@petefox
Copy link

petefox commented Jan 24, 2023

Did anyone ever figure this out?

I'm having the issue with all versions above 3.0.77-beta, with both .net 6 and .net 7, on an Intel Mac.

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

3 participants