Skip to content

Can't build uportal-start 5.15.1 with Less 3.7.1 #650

@allanjackson

Description

@allanjackson

I'm trying to upgrade our portal, but 5.15.1 won't build because of the following error:
SyntaxError: error evaluating function rgb: color functions take numbers as parameters

This traces back to line 33 of mixins.less https://github.com/uPortal-Project/uPortal/blob/6d60d4d4d3838a6403e690799207b344e8b34b7f/uPortal-webapp/src/main/webapp/media/skins/respondr/common/less/mixins.less#L33

It appears that Less 3.7.1 can't handle the newer syntax for rgb() that includes a slash. I tried upgrading to Less 3.13.0 and it built fine after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions