You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
"""""""""""""""""""""""""
The text was updated successfully, but these errors were encountered:
Hi @baketti, you must use generators which are compatible with your yo version and nodejs runtime.
The yo@3.1.1 is from July 2018, while the getapper/generator-g-next was created on Feb 2022 and requires the yeoman-environment to be at least at version 3.0.
You can upgrade your yo to v4 which has yeoman-environment at version 3.5.
npm i -g yo@4
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 (????))
You have yo v3.1.1 with uses yeoman-environment v2.10.3. The log information is correct.
Type of issue
My environment
Version OS: 10.0.22621
x.x.x
(runnode --version
in your terminal) v14.21.1x.x.x
(runnpm --version
in your terminal)6.14.17x.x.x
(runyo --version
in your terminal)3.1.1Expected 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
The text was updated successfully, but these errors were encountered: