Github Action with angular is failing due to @rollup/rollup-linux-x64-gnu

Discussão em 'Angular' iniciado por Juan David Calderon, Outubro 2, 2024.

  1. I'm facing the following error when the pipeline in my github actions is running:

    'An unhandled exception occurred: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.'

    This error is shown up when I run the test or even the build: enter image description here

    enter image description here

    And here is my .yml: enter image description here

    and there are my scripts: enter image description here

    am I doing something wrong?

    I have tryed with other node versions and caching npm

    Continue reading...

Compartilhe esta Página