-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Theme styles not loading when deploy app to production #2214
Comments
I got same error debug mode: During translation of SCSS code, readed from the file '/Themes/Flex/Content/theme.scss', to CSS code error has occurred. at BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.InnerTranslate(IAsset asset, CompilationOptions sassOptions, Boolean enableNativeMinification) |
Then I updated LibSassHost.Native.win-x86 package via NuGet to 1.3.2(lastversion); also updated LibSass Host to 1.3.2 Now the error is |
Then I updated LibSassHost.Native.win-x86 and LibSassHost for project SmartStore.Web.Framework The requested service 'SmartStore.Web.Framework.Routing.IRoutePublisher' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable |
Then I updated Bundle Transformer: Sass and SCSS to v1.12.22 Config Source: |
There's no need to update the NuGet packages, you should revert the updates. The BundleTransformer packages unfortunately tend to pollute the web.config with a lot of noisy markup and sometimes even break the configuration. Is the latest C++ runtime package available on the deployment server? Alternatively, switch to |
Thanx @muratcakir |
Any progress on this. I'm having the problem out of the box. Using iis express. Tried to switch the config "MsieJsEngine ". No luck. :( If its easier to bypass I wouldnt mind that approach. I can just reference css the good old fashioned way. Suggestions? Stack Trace: |
This error indicates that the BundleTransformer packages used in your solution are either outdated or are more recent versions than the ones originally delivered. Did you update any package via NuGet package manager? |
I did update. I was getting a different error message prior to that. I can
get the source again and start over.
…On Tue, Apr 26, 2022, 11:02 AM Murat Cakir ***@***.***> wrote:
This error indicates that the BundleTransformer packages used in your
solution are either outdated or are more recent versions than the ones
originally delivered. Did you update any package via NuGet package manager?
—
Reply to this email directly, view it on GitHub
<#2214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHWHE2V2ACLPPYYF55WE3PTVHAVSLANCNFSM4YXTLCCA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi, Hope you all are doing great. I ran into an issue when i deploy the release of the store on my production server. Its not loading the styles i have attached the screenshot.
The text was updated successfully, but these errors were encountered: