Base solution for your next web application
Open Closed

error @angular/animations@18.2.3 #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/animations@18.2.3):

yarn yarn install v1.22.17 info No lockfile found. [1/4] Resolving packages... warning adal-angular@1.0.18: This package is no longer supported. Please migrate to @azure/msal-angular. warning eslint > @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead warning eslint > file-entry-cache > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported warning eslint > file-entry-cache > flat-cache > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported warning eslint > @humanwhocodes/config-array > @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead warning eslint > file-entry-cache > flat-cache > rimraf > glob > inflight@1.0.6: 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 > glob@7.2.3: Glob versions prior to v9 are no longer supported warning karma > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported warning karma-coverage-istanbul-reporter > istanbul-lib-source-maps > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported warning karma-coverage-istanbul-reporter > istanbul-lib-source-maps > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported warning shx > shelljs > glob@7.2.3: Glob versions prior to v9 are no longer supported [2/4] Fetching packages... error @angular/animations@18.2.3: 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