[BUG] Path of 3rd cli tools have invalid location under workspace #4103
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
platform:windows
is Windows-specific
Release 8.x
work is associated with a specific npm 8 release
It fails in windows cause
node_modules\@my\prj\node_modules\.bin\babel.cmd
reference%~dp0\..\..\..\node_modules\@babel\cli\bin\babel.js
. I think cli generate path relative fromprj\node_modules\.bin
tonode_modules\@babel\cli\bin\babel.js
. Bugpostinstall
executing undernode_modules/@my/prj
, so it fails:Expected Behavior
postinstall
run after this workspace copy fromprj
tonode_modules\@my\prj
. So it should reference path relative fromnode_modules\@my\prj\node_modules\.bin\babel.cmd
tonode_modules\@babel\cli\bin\babel.js
. So I can not use any "/" structure for naming package under workspaces right now.Environment
The text was updated successfully, but these errors were encountered: