You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ node --version
v10.10.0
$ yarn --version
Yarn requires Node.js 4.0 or higher to be installed.
Cause
When the yarn shim runs, it sets the PATH wtih env::path_for_installed_node(), which strips out the Notion bin directory . When the actual yarn script is run with that PATH, it looks for node. But it doesn't see the Notion node shim, because it is not on the PATH. So it uses whatever is on the PATH, which is the system node, or nothing.
The text was updated successfully, but these errors were encountered:
Repro
Remove your system node (or rename the binary).
In a project, setup the toolchain:
Running
node
works, butyarn
fails:Cause
When the
yarn
shim runs, it sets the PATH wtihenv::path_for_installed_node()
, which strips out the Notion bin directory . When the actualyarn
script is run with that PATH, it looks fornode
. But it doesn't see the Notionnode
shim, because it is not on the PATH. So it uses whatever is on the PATH, which is the systemnode
, or nothing.The text was updated successfully, but these errors were encountered: