Skip to content

Deployment breaks due to faulty version of colors.js #1703

@tlylt

Description

@tlylt

Tell us about your environment
Windows

  • MarkBind Version:
    Possibly most versions of Markbind are affected when installing dependencies either locally or in CI

What did you do? Please include the actual source code causing the issue.
When running an update in this commit to the CS3218 Website, the action failed to complete. As it turns out, there are discussions on the "bug" in colors.js. Specifically for our case, it seems like the live-server package that we depend on is using the latest version of colors.js. There is a PR in the live-server repo 2 days ago to fix the issue but it has not been merged.
image
According to the discussions, the solution seems to be pinning all usage of the colors.js package to 1.4.0.
To fix the issue temporarily, we could possibly use https://www.npmjs.com/package/npm-force-resolution
Or, should we wait for live-server to update?

Related:

What did you expect to happen?
Deploy successfully.

What actually happened? Please include the actual, raw output.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    c.Bug 🐛p.UrgentTo be done by next release, but follow normal release date

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions