Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running "yo code" fails after filling out questionairre with a package install error #443

Open
yesseruser opened this issue Dec 7, 2023 · 1 comment

Comments

@yesseruser
Copy link

This is the output:

> yo code

     _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the Visual  │
    |--(o)--|    │   Studio Code Extension  │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? What type of extension do you want to create? New Extension (TypeScript)
? What's the name of your extension? FirstExt
? What's the identifier of your extension? firstext
? What's the description of your extension? It exists.
? Initialize a git repository? Yes
? Bundle the source code with webpack? No
? Which package manager to use? npm

Writing in E:\Programming\VSCodeExtensions\firstext...
   create firstext\.vscode\extensions.json
   create firstext\.vscode\launch.json
   create firstext\.vscode\settings.json
   create firstext\.vscode\tasks.json
   create firstext\package.json
   create firstext\tsconfig.json
   create firstext\.vscodeignore
   create firstext\vsc-extension-quickstart.md
   create firstext\.gitignore
   create firstext\README.md
   create firstext\CHANGELOG.md
   create firstext\src\extension.ts
   create firstext\src\test\extension.test.ts
   create firstext\.vscode-test.mjs
   create firstext\.eslintrc.json

Changes to package.json were detected.

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.85.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: C:\Users\matej\AppData\Local\npm-cache\_logs\2023-12-07T21_23_17_921Z-debug-0.log
Error code

Command failed with exit code 1: npm install

Here are all the generated log files:
2023-12-07T21_26_36_083Z-debug-0.log
2023-12-07T21_26_53_603Z-debug-0.log
2023-12-07T21_26_54_471Z-debug-0.log
2023-12-07T21_26_35_211Z-debug-0.log

@yesseruser
Copy link
Author

This happens on Windows 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant