Error Checking for Minor Updates
rgilsimoes opened this issue · 3 comments
Getting this error when Checking for Minor Updates:
[Ionic] Checking for minor updates for 56 dependencies
[error] {"type":"warning","data":"package.json: No license field"}
{"type":"error","data":"No lockfile in this directory. Run `yarn install` to generate one."}
[error] {"type":"warning","data":"package.json: No license field"}
{"type":"error","data":"No lockfile in this directory. Run `yarn install` to generate one."}
Ionic VSCode Extension Version v1.45.5
VSCode Info
Version: 1.80.1 (user setup)
Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771
Date: 2023-07-12T17:22:07.651Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22621
Do you have a project that you can share? (This would be hard to reproduce). You can send a link to a zip to [redacted]
Thanks for the project. This issue should now be fixed in 1.48
The problem was that in yarn 1.x projects the command yarn outdated --json
returns invalid json. The extension now works around this bug. Not only will you be able to check for minor updates, you'll also see a lot more information when you expand packages/plugins.
It works after upgrade to 1.48