[email protected]
seems to have changed the way it interacts with postinstall
scripts in project workspaces.
When running npm i
from the project root - the workspace/workspacePostInstall.js
script, referenced as the postinstall
script in the workspace package json should not be called
When running npm i
from the project root - the workspace/workspacePostInstall.js
script, referenced as the postinstall
script in the workspace package json is called. This is setup to execute a script that does not exist, and so errors.
Run npm install -g [email protected]
, and then npm i
in the project root. You will not see an error.
Then, run npm install -g [email protected]
, and then npm i
in the project root. You will now see an error - this is incorrect.