yeoman / yo

CLI tool for running Yeoman generators

Home Page:http://yeoman.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong Version for "@types/vscode" package

yogeshjog opened this issue · comments

Type of issue

Bug


My environment

  • OS version/details: eg. Windows 11 64-bit
  • Node version: v16.13.1
  • npm version: 8.1.2
  • Version of yo : 4.3.0

Expected behavior

yo code should generate proper package.json files with available verions on npm

Current behavior

vscode Hello World Extension autogeneration fails due to invalid/unavailable version for "@types/vscode" package.

As of today "@types/vscode" package version 1.62.0 is available but yo code generates package.json with @types/vscode@^1.63.0. devDependencies.

Steps to reproduce the behavior

fire yo code command with yo version 4.3.0

Command line output

Running npm install for you to install the required dependencies.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @types/vscode@^1.63.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\yoges\AppData\Local\npm-cache_logs\2021-12-08T22_40_37_899Z-debug.log
Error code

Command failed with exit code 1: npm install

Paste your error output over here

npm ERR! notarget No matching version found for @types/vscode@^1.63.0.

Any updates on this? I am facing the same issue with random packages.