Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Traffic Portal build system uses local dependencies #3527

@ocket8888

Description

@ocket8888

Because of how the build system recursively copies the traffic_portal/ directory, existing node_modules and bower_components dependencies directories in the locally-copied repo will be pulled into the build environment. This means that conflicting dependency versions can exist - which can cause the build to fail cryptically. Problem is easily fixed by deleting the local resources, but developers might be annoyed by that, so a better solution would be to just either destroy the dependency directories in the build system before running bower install/npm install or just not copying them in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Portal v1related to Traffic Portal version 1buildrelated to the build processtech debtrework due to choosing easy/limited solution

    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