Inhalte aufrufen

Profilbild

Unable to compile version 4.1.1


Best Answer andras7008 , 23 June 2021 - 22:16

Solved, issue was folder permissions.

Go to the full post


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
2 Antworten zu diesem Thema

#1 andras7008

andras7008

    Member

  • Members
  • PunktPunkt
  • 19 Beiträge

Geschrieben: 22 June 2021 - 06:10

Hello,

 

I downloaded the community version 4.1.1 and tried to compile, but unfortunately I receive an error.

I added the LibSassHost.Native.win-x86 nuget package to the web.framework as it was suggested somewhere on the github.

 

After trying to run the web solution I receive this error message:

BundleTransformer.Core.Translators.AssetTranslationException: 'During translation of SCSS code, readed from the file '/Administration/Content/theme.scss', to CSS code syntax error has occurred. 
See more details:

EndlessExtendError: Extend is creating an absurdly big selector, aborting!
        on line 84:9 of Administration/Content/theme.scss
>> .btn.btn-to-danger {
   ^

Error code: 1
Description: Extend is creating an absurdly big selector, aborting!
File: /Content/shared/_buttons.scss
Line number: 472
Column number: 1
Source fragment:

Line 472: .btn.btn-to-danger {
----------^
Line 473:     &:not([disabled]):not(.disabled):hover {'

This exception was originally thrown at this call stack:
    [External Code]
    SmartStore.Web.Framework.Theming.Assets.AssetTranslator<TTranslator>.TranslateInternal(BundleTransformer.Core.Assets.IAsset) in AssetTranslator.cs
    SmartStore.Web.Framework.Theming.Assets.AssetTranslator<TTranslator>.Translate(BundleTransformer.Core.Assets.IAsset) in AssetTranslator.cs
    [External Code]
    SmartStore.Web.Framework.Theming.SassCssHttpHandler.TranslateAssetCore(BundleTransformer.Core.Assets.IAsset, BundleTransformer.Core.Transformers.ITransformer, bool) in CssHttpHandler.cs
    SmartStore.Web.Framework.Theming.CssHttpHandlerBase.TranslateAsset(BundleTransformer.Core.Assets.IAsset, BundleTransformer.Core.Transformers.ITransformer, bool) in CssHttpHandler.cs
    [External Code]

Do anyone have any suggestion how to make this work?

 

The package which I installed on top of the ones downloaded with the 4.1.1 was the: LibSassHost.Native.win-x86 and LibSassHost.Native.win-x64.

 

Thank you

Andras



#2 andras7008

andras7008

    Member

  • Members
  • PunktPunkt
  • 19 Beiträge

Geschrieben: 23 June 2021 - 22:16   Best Answer

Solved, issue was folder permissions.


  • stefanmueller gefällt das

#3 netroskop

netroskop

    Member

  • Members
  • PunktPunkt
  • 20 Beiträge

Geschrieben: 30 December 2022 - 12:55

I'm having the same problem. Which file do you need to give permission for?