Base solution for your next web application
Open Closed

error @angular/[email protected] #12152


User avatar
0
flaskone created

Hi, Hi, I downloaded my project's new release 13.3 of angular and .net core two days ago. On the angular project, I run the Yarn command. I got this error (@angular/[email protected]):

yarn yarn install v1.22.17 info No lockfile found. [1/4] Resolving packages... warning [email protected]: This package is no longer supported. Please migrate to @azure/msal-angular. warning eslint > @humanwhocodes/[email protected]: Use @eslint/config-array instead warning eslint > file-entry-cache > flat-cache > [email protected]: Rimraf versions prior to v4 are no longer supported warning eslint > file-entry-cache > flat-cache > rimraf > [email protected]: Glob versions prior to v9 are no longer supported warning eslint > @humanwhocodes/config-array > @humanwhocodes/[email protected]: Use @eslint/object-schema instead warning eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. warning karma > [email protected]: Glob versions prior to v9 are no longer supported warning karma > [email protected]: Rimraf versions prior to v4 are no longer supported warning karma-coverage-istanbul-reporter > istanbul-lib-source-maps > [email protected]: Rimraf versions prior to v4 are no longer supported warning karma-coverage-istanbul-reporter > istanbul-lib-source-maps > rimraf > [email protected]: Glob versions prior to v9 are no longer supported warning shx > shelljs > [email protected]: Glob versions prior to v9 are no longer supported [2/4] Fetching packages... error @angular/[email protected]: The engine "node" is incompatible with this module. Expected version "^18.19.1 || ^20.11.1 || >=22.0.0". Got "20.10.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Can it be a problem or not?


2 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @flaskone,

    You should upgrade your Nodejs version. Expected version "^18.19.1 || ^20.11.1 || >=22.0.0". You have "20.10.0"

    You could upgrade your Nodejs version to 20.11.1 or to the latest version.

  • User Avatar
    0
    flaskone created

    thx