I am upgrading my website from CQ 5.5.1 to AEM 5.6 and the less parser is failing and it does not compile less files to CSS. Any suggestions of a possible fix to solve the issue.
2
There are 2 answers
0
sherry
On
I came across this scenario recently where there was issue with less files not getting compiling adn was getting (uncompiled LESS src is included below) Rebuilding the clientlibs solved this issue and the error was gone and the styles where loading correctly.
Steps
Go to /libs/granite/ui/content/dumplibs.rebuild.html and invalidate the cache and rebuild the libs
Hope this will help
Related Questions in CSS
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Is there any way to glow this bulb image like a real light bulb
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- How to increase quality of mathjax output?
- Hover animation resetting( seemingly reverting back to original CSS and then again to hover)when moving mouse horizontaly accross a part of an element
- Storing selected language in localStorage
- How to clip grid cell and provide scroll as well?
- KeyboardAvoidingView makes a messy the flexbox
- Rotate an object around another object in javascript
- Understanding Scroll Anchoring Behavoir
- how to use only block layout in this css code?
Related Questions in LESS
- how to use less variables in vue components?
- Angular version 17, is it possible and how to connect several preprocessors (LESS, SASS, SCSS, etc.)
- Set background conditional on child class
- How to loop a nested ruleset in less?
- Extend backround-image via LESS - add rule to existing one
- How use maps in less mixins
- magento 2.4.6 styles overide issue
- Looking for active and supported maven plugin to compile less to css?
- How to get MSBuild target to run whenever an input file changes?
- How to apply class style on everything but a specific class and its children?( Nested Theme )
- MacOS Django Less Issue
- VS Code 1.86 Less syntax highlighting not correct
- How to write a :not() CSS exclusion working in every cases?
- Preventing 3rd party CSS pollution in Angular
- Encapsulating styles in less causes problem in styles of react bootstrap modal
Related Questions in AEM
- Issues with the JRE when attempting to open an AEM instance by using JDK 11.0.19 on Ubuntu
- In Webpack, how do I expose vendor JS?
- How to use ExecutorService in Kubernetes PODs
- AEM custom Workflow step: how to get ResourceResolver for initiator?
- Dynamically add pages in AEM Remote Spa
- How to update the resource property using the valuemap in the Sling servlet?
- how can we retrieve the tag properties in the backend?
- Retrieving Page Properties into Sling Servlet using resource resolver
- Selective Data Export in JSON from Sling Model Exporter in AEM?
- Getting Dependency Issues and How to Create a Logger File for Specific Classes in AEM?
- Getting currentPage from Experience Fragment with Apache Sling Dynamic Include enabled
- AEM is fails for the Video upload alone but works for images able to see Granite JS fails
- Not able to Delete components Adobe AEM 6.5
- Is AEM TarMK syncing bundles?
- AEM 6.5, SPA, Angular 9 - How do I subscribe to a parent container component from a child component?
Related Questions in DAY-CQ
- Set a minimum and maximum for custom multifield elements in CQ5?
- Property configuration AEM Day lib
- How to get rid of Adobe Scene7 related errors in AEM error.log?
- CQ5 workflow content inbox | Approve folder content wrong url
- Not able to call form in AEM6
- Less files not working with AEM
- Find broken links (internal) for all authored links (components input & straight html) in Adobe CQ5.5 SP 2.1
- Populate Values in Drop Down
- How to configure publishers programmatically
- Pass data from one component to another in adobe CQ
- Component group not showing in sidekick (Adobe CQ)
- Changing the name of a component in Adobe CQ
- selection xtype listener unable to access multifield and multifield unable to fire the dialog.form.findfield
- How to activate a particular node through java code / workflow in Day CQ
- how to create com.day.cq.wcm.foundation.list?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
this link can be usefull: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__ibm7-hi_we_are_moving.html
The thing is, in AEM 5.6.1 LESS compiler was updated to 1.3.3 and also the approach to server-side compilation was changed: prior to 5.6.1, your clientlib (including all embeds) was passed to LESS compiler as a single concatenated file.
Starting with 5.6.1, each LESS file in your clientlib is compiled separately, that is why the compilation will fail, in case you had your variable declarations in a separate file which was then embedded into numerous clientlibs. This leads to the following error (can be found in produced css):
To solve this issue, use @Import statement, which is now supported.