Skip to content

Auto-publish to npm not working anymore #146

@kfrederix

Description

@kfrederix

Hello, it looks like the auto-publish to npm task stopped working.
I can see in the commit history that the renovate bot is still working and packages are upgraded, but no new version has been published anymore since 18th of december 2024.

This is the error on the publish task:

file:///home/runner/work/angular/angular/node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/utils/max-listeners.js:1
import {addAbortListener} from 'node:events';
        ^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'node:events' does not provide an export named 'addAbortListener'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:[19](https://github.com/esm-bundle/angular/actions/runs/13170253700/job/36759211611#step:7:20)0:5)

Node.js v18.13.0
 ELIFECYCLE  Command failed with exit code 1.

From what I can tell, it looks switching from Node v18 to the lastest LTS version could fix this, but I'm not 100% sure.
Let me know if you would me to help, I'm willing to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions