•  
      request #11870 Work around npm bug modifying the lockfile when node_modules is present
    Infos
    #11870
    Thomas Gerbet (tgerbet)
    2018-07-23 17:25
    2018-07-19 14:57
    12087
    Details
    Work around npm bug modifying the lockfile when node_modules is present
    So there is a bug in npm [0][1] affecting the targets "post-checkout" and "npm-build" of our helper Makefile.

    After being executed a first time these target will change the lockfile at the root of the Tuleap sources and if a Tuleap contributor try to commit it the CI (rightfully) rejects the contribution because the change in the lockfile is not needed.

    This behavior can confuse newcomers wanting to contribute, we should work around the issue until it is fixed upstream.


    [0] https://npm.community/t/package-lock-json-and-optional-packages/692
    [1] https://github.com/npm/npm/issues/17722
    Other
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-07-23
    Attachments
    Empty
    References

    Follow-ups