Notion should retain control of the global executables installed by npm or yarn; they should always be shims. This means the npm and yarn shims should alter the behavior of npm install -g and yarn global to do the right thing with setting up/modifying shims.
We implemented this by intercepting and throwing an error when a user attempts to globally install, directing them to instead us volta install <package>
Notion should retain control of the global executables installed by npm or yarn; they should always be shims. This means the npm and yarn shims should alter the behavior of
npm install -g
andyarn global
to do the right thing with setting up/modifying shims.