cli icon indicating copy to clipboard operation
cli copied to clipboard

[BUG] Running command in workspace context doesn't work in docker environment

Open oliviernt opened this issue 5 years ago • 1 comments

Current Behavior:

When running an npm script in a workspace context in a docker container, the script from the parent context is executed.

Expected Behavior:

When running an npm script in a workspace context in a docker container, the script from the workspace context is executed.

Steps To Reproduce:

Please see my reproduction repo https://github.com/oliviernt/npm-workspaces-bug-reproduction

Environment:

  • OS: Ubuntu 20.10
  • Node: 15.5.1
  • npm: 7.7.5
  • docker: 19.03.8
  • docker image: node:15.12.0

oliviernt avatar Mar 30 '21 12:03 oliviernt

Appears to be fixed with node @15.14.0 and [email protected]

oliviernt avatar Apr 23 '21 12:04 oliviernt