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

Versions && Peer dependencies #799

Open
baketti opened this issue Nov 25, 2023 · 0 comments
Open

Versions && Peer dependencies #799

baketti opened this issue Nov 25, 2023 · 0 comments

Comments

@baketti
Copy link

baketti commented Nov 25, 2023

Type of issue


My environment

  • OS version/details: `NAME OS: Microsoft Windows 11 Home
    Version OS: 10.0.22621
  • Node version: x.x.x (run node --version in your terminal) v14.21.1
  • npm version: x.x.x (run npm --version in your terminal)6.14.17
  • Version of yo : x.x.x (run yo --version in your terminal)3.1.1

Expected behavior

I have to use Node14 version. I run on the terminal npm install-g yo and the output error is shown below(output is long so they're some examples in order and finally the version with yo --version, but there are some strange things:

=> yo --version 3.1.1
yo g-next:app
Error g-next:app

This generator (g-next:app) requires yeoman-environment at least 3.0.0, current version is 2.10.3, WTF??? (IT WAS 3.1.1 (????))

Current behavior

WHAT DOES IT MEAN? WHAT COULD I DO TO SOLVE THIS PROBLEM?

Steps to reproduce the behavior

Command line output

Paste your error output over here
"""""""""""""""""""""""""""""""""
npm WARN notsup Unsupported engine for @sigstore/sign@2.2.0: wanted: {"node":"^16.14.0 || >=18.0.0"} (current: {"node":"14.21.1","npm":"6.14.17"})
npm WARN notsup Not compatible with your version of node/npm: @sigstore/sign@2.2.0
npm WARN notsup Unsupported engine for @sigstore/tuf@2.2.0: wanted: {"node":"^16.14.0 || >=18.0.0"} (current: {"node":"14.21.1","npm":"6.14.17"})
npm WARN notsup Not compatible with your version of node/npm: @sigstore/tuf@2.2.0
npm WARN notsup Unsupported engine for tuf-js@2.1.0: wanted: {"node":"^16.14.0 || >=18.0.0"} (current: {"node":"14.21.1","npm":"6.14.17"})
npm WARN notsup Not compatible with your version of node/npm: tuf-js@2.1.0
npm WARN notsup Unsupported engine for @tufjs/models@2.0.0: wanted: {"node":"^16.14.0 || >=18.0.0"} (current: {"node":"14.21.1","npm":"6.14.17"})
npm WARN notsup Not compatible with your version of node/npm: @tufjs/models@2.0.0
""""""""""""""""
npm WARN yeoman-environment@4.1.3 requires a peer of @yeoman/types@^1.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN yeoman-environment@4.1.3 requires a peer of mem-fs@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @yeoman/adapter@1.4.0 requires a peer of @yeoman/types@^1.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN mem-fs-editor@11.0.0 requires a peer of mem-fs@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @yeoman/conflicter@2.0.0 requires a peer of @yeoman/types@^1.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @yeoman/conflicter@2.0.0 requires a peer of mem-fs@^4.0.0 but none is installed. You must install peer dependencies yourself.
"""""""""""""""""""""""""""""""""
npm WARN @yeoman/conflicter@2.0.0 requires a peer of @yeoman/types@^1.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @yeoman/conflicter@2.0.0 requires a peer of mem-fs@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @yeoman/adapter@1.4.0 requires a peer of @yeoman/types@^1.1.0 but none is installed. You must install peer dependencies yourself.

+ yo@5.0.0
added 808 packages from 310 contributors in 473.257s
PS C:\Users\39377\OneDrive\Desktop\academy-getapper-course\nextjs13> 
PS C:\Users\39377\OneDrive\Desktop\academy-getapper-course\nextjs13> yo --version
3.1.1
PS C:\Users\39377\OneDrive\Desktop\academy-getapper-course\nextjs13> yo g-next:app
Error g-next:app 

This generator (g-next:app) requires yeoman-environment at least 3.0.0, current version is 2.10.3, try reinstalling latest version of 'yo' or use '--ignore-version-check' option
"""""""""""""""""""""""""
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