Open rdsfj opened 1 year ago
Thanks for the bug report and the minimal reproduction! Further debug/fixing PR welcome, or hopefully one of us will try to get to it eventually. Unfortunately it's very much on the back burner for all of us right now!
@chriskrycho Thanks for the reply! Off the top of your head, do you have any ideas what could cause this or how to debug it? I'm not familiar with debugging rust code, but I'll give it a shot.
@rdsfj sorry for the long delay; missed this in the midst of other thing—I have absolutely no idea why that would be happening off the top of my head!
Hello 🙋♀️
while working on a project with npm workspaces and lerna, we found a bug when running npm scripts. The project contains two npm workspaces (
client
anduniversal
). Inclient
'spackage.json
, there is a dependency onuniversal
. When running an npm script in both packages usinglerna run
, volta seems to get confused somehow. volta runs the npm script of only one of the packages, but once in each of the two workspaces.Here's a repository with a minimal reproduction to make clearer what's happening.
I'm opening the issue here because this bug never occurs when volta is turned off (no
$VOLTA_HOME
in$PATH
). My volta version: 1.1.1