Unable to initialize JavaScript cache storage

Discussão em 'Angular' iniciado por VIRIYALA NARESH, Dezembro 26, 2024.

  1. I am getting the following warning when building an angular project. Below is the configuration.

    Angular CLI: 18.2.12
    Node: 20.17.0
    Package Manager: npm 10.8.2
    OS: win32 arm64

    Angular: 18.2.13
    ... animations, common, compiler, compiler-cli, core, forms
    ... platform-browser, platform-browser-dynamic, router

    Package Version
    ---------------------------------------------------------
    @angular-devkit/architect 0.1802.12
    @angular-devkit/build-angular 18.2.12
    @angular-devkit/core 18.2.12
    @angular-devkit/schematics 18.2.12
    @angular/cli 18.2.12
    @schematics/angular 18.2.12
    rxjs 7.8.1
    typescript 5.5.4
    zone.js 0.14.10


    Here is the warning

    ▲ [WARNING] Unable to initialize JavaScript cache storage. [plugin angular-compiler]

    No native build was found for platform=win32 arch=arm64 runtime=node abi=115 uv=1 armv=8 libc=glibc node=20.17.0
    This will not affect the build output content but may result in slower builds.


    If I ignore this warning and run the application in browser, I see a strange behavior. When i go back and forth between 2 routes (component A & component B), I see that the css files are download from the server every time I visit the route, as a result for a split second (until the css is downloaded from the server) I see that loaded html is distorted due to missing css. Not sure if this behavior is related to the warning.

    Continue reading...

Compartilhe esta Página