Comments (16)
@redcrayonn @DaveEmmerson In version 1.2.8 fixed this error. The error was at the LibSass level.
from libsasshost.
Hello, Olaf!
Thanks for information! In the near future I will research this problem.
from libsasshost.
Hello, Olaf!
I cannot reproduce this error.
You are using a modified or original version of the LibSass? Show me the full error message with stack trace.
from libsasshost.
at LibSassHost.Helpers.MarshallingHelpers.PtrToString(IntPtr ptr)
at LibSassHost.Internal.SassCompilerProxy.FillManagedContextError(SassContextBase context, Sass_Context& ctx)
at LibSassHost.Internal.SassCompilerProxy.Compile(SassDataContext dataContext)
at LibSassHost.SassCompiler.InnerCompile(String content, Boolean indentedSyntax, String inputPath, String outputPath, String sourceMapPath, CompilationOptions options)
at LibSassHost.SassCompiler.Compile(String content, String inputPath, String outputPath, String sourceMapPath, CompilationOptions options)
at BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.InnerTranslate(IAsset asset, CompilationOptions sassOptions, Boolean enableNativeMinification)
at BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.Translate(IList1 assets) at BundleTransformer.Core.Transformers.TransformerBase.Translate(IList
1 assets, Boolean isDebugMode)
at BundleTransformer.Core.Transformers.TransformerBase.Transform(IList1 assets, BundleContext bundleContext, BundleResponse bundleResponse, VirtualPathProvider virtualPathProvider, Boolean isDebugMode) at BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext bundleContext, BundleResponse bundleResponse, Boolean isDebugMode) at BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext bundleContext, BundleResponse bundleResponse) at System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable
1 bundleFiles)
at System.Web.Optimization.Bundle.GenerateBundleResponse(BundleContext context)
at System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context)
at System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath)
at System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets)
at System.Web.Optimization.AssetManager.RenderExplicit(String tagFormat, String[] paths)
at System.Web.Optimization.Styles.RenderFormat(String tagFormat, String[] paths)
at System.Web.Optimization.Styles.Render(String[] paths)
LibSassHost.1.2.7
LibSassHost.Native.win-x86.1.2.7
I'm trying to track down exactly where it fails.
from libsasshost.
Hello, Dave!
You have only given a stack trace. I don't see the error message itself.
from libsasshost.
from libsasshost.
@DaveEmmerson Is this error persistent?
Apparently it occurs during processing of the Sass syntax error:
…
at LibSassHost.Internal.SassCompilerProxy.FillManagedContextError(SassContextBase context, Sass_Context& ctx)
…
from libsasshost.
from libsasshost.
What version of .NET are you using? Implementation of the PtrToString
method just depends on it.
from libsasshost.
from libsasshost.
Hi
Yeah, it's framework and 4.6.2 on this project.
Thanks
from libsasshost.
@Taritsyn thanks! I've created some local nuget packages of the latest commit and updated my libsasshost/libsassnative/bundletransformer.sass references and it seems to be working (in my sample size of 1 error 😁 )
from libsasshost.
@DaveEmmerson Why create local nuget packages? Packages are in release.
from libsasshost.
Ah, woops.
Does https://github.com/Taritsyn/BundleTransformer/blob/64c05f32757e469edb3b2e3f7d7d63dd6c0f82d8/src/BundleTransformer.SassAndScss/BundleTransformer.SassAndScss.csproj#L31 need to be updated though?
I'm very new to LibSass (like 2 days in), so I'm not 100% on how all the bits fit together yet.
from libsasshost.
There were no changes in interface of the LibSassHost library, so you can just update the LibSassHost's packages.
from libsasshost.
👍 thanks again - works fine after a good number of parse errors.
from libsasshost.
Related Issues (20)
- When used inside a Microsoft.Build.Framework.ITask, the whole process crashes if there's an SCSS error HOT 10
- request: non-static file manager HOT 6
- Unable to load DLL 'libsass' on Windows Server 2008 R2 HOT 2
- How to @import partials HOT 1
- SassСompilationException contains cyrillic character HOT 4
- [BUG] Upgrade to v1.3.1 adds `/c/` to paths HOT 7
- Combining a string of sass with an scss file HOT 5
- `@use` rule doesn't compile HOT 6
- application o virtual directory HOT 2
- On azure webapp getting "An attempt was made to load a program with an incorrect format" HOT 2
- Error: File to import not found or unreadable HOT 23
- LibSassBuilder HOT 2
- Support for Memory<char> as parameter and result CSS
- Sass Modules Support HOT 8
- .NET 6 on Apple Silicon HOT 7
- How to utilize with Blazor? HOT 2
- Updating System.Buffers in .Net Framework project breaks dll-mapping to libsasshost version HOT 2
- Calling from Powershell, cannot load dependent assemblies HOT 4
- Variables are not compiled when scss is compiled HOT 3
- The type initializer for 'LibSassHost.SassCompiler' threw an exception HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsasshost.