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
Expected behavior
Okay to install yarn.build plugin
Screenshots
yarn plugin import https://yarn.build/latest
➤ YN0001: ReferenceError: name is not defined
at /usr/local/lib/node_modules/yarn/bin/yarn.js:58:32838
at async Function.start (/usr/local/lib/node_modules/yarn/bin/yarn.js:24:44856)
at async u.execute (/usr/local/lib/node_modules/yarn/bin/yarn.js:58:32187)
at async u.validateAndExecute (/usr/local/lib/node_modules/yarn/bin/yarn.js:24:40434)
at async c.run (/usr/local/lib/node_modules/yarn/bin/yarn.js:36:533800)
at async c.runExit (/usr/local/lib/node_modules/yarn/bin/yarn.js:36:533934)
➤ YN0000: Failed with errors in 0.12s
yarn -v
2.0.0-rc.27
Desktop:
OS: macOS and Windows
The text was updated successfully, but these errors were encountered:
@dongyuwei this may be related to you installing yarn berry as a global. As you'll see from the installation instructions, the yarn you install globally is v1, while v2 is installed locally.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Okay to install yarn.build plugin
Screenshots
yarn plugin import https://yarn.build/latest ➤ YN0001: ReferenceError: name is not defined at /usr/local/lib/node_modules/yarn/bin/yarn.js:58:32838 at async Function.start (/usr/local/lib/node_modules/yarn/bin/yarn.js:24:44856) at async u.execute (/usr/local/lib/node_modules/yarn/bin/yarn.js:58:32187) at async u.validateAndExecute (/usr/local/lib/node_modules/yarn/bin/yarn.js:24:40434) at async c.run (/usr/local/lib/node_modules/yarn/bin/yarn.js:36:533800) at async c.runExit (/usr/local/lib/node_modules/yarn/bin/yarn.js:36:533934) ➤ YN0000: Failed with errors in 0.12s yarn -v 2.0.0-rc.27
Desktop:
The text was updated successfully, but these errors were encountered: