Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Minimal example for yarn doctor 3.0.0-rc.2 missing peer dependencies bug

Notifications You must be signed in to change notification settings

benatshippabo/yarn-doctor-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal example for yarn doctor 3.0.0-rc.2 bug

yarnpkg/berry#2752

Reproduction

Just run yarn dlx @yarnpkg/[email protected], should get the following error:

➤ YN0000: ┌ /Users/btea/git/doctor-bug/package.json
➤ YN0001: │ Error: Invalid property type: ArrayLiteralExpression
    at buildJsonNode (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/doctor/lib/cli.js:167:19)
    at async checkForUnmetPeerDependency (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/doctor/lib/cli.js:187:26)
    at async processManifest (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/doctor/lib/cli.js:227:17)
    at async processWorkspace (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/doctor/lib/cli.js:244:5)
    at async /private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/doctor/lib/cli.js:311:29
    at async StreamReport.startTimerPromise (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/core/lib/StreamReport.js:219:20)
    at async /private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/doctor/lib/cli.js:298:25
    at async Function.start (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/core/lib/StreamReport.js:132:13)
    at async EntryCommand.execute (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/@yarnpkg/doctor/lib/cli.js:285:24)
    at async EntryCommand.validateAndExecute (/private/var/folders/sc/z7n17jts675gs2rcqs2l_72c0000gn/T/xfs-33f69a18/dlx-5889/node_modules/clipanion/lib/advanced/Command.js:64:26)

About

Minimal example for yarn doctor 3.0.0-rc.2 missing peer dependencies bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published