Skip to content

--heap-prof is not allowed in NODE_OPTIONS #54257

Closed

Description

@himself65

Version

20.15.1

Platform

GitHub Action ubuntu-latest

Subsystem

No response

What steps will reproduce the bug?

> NODE_OPTIONS="--heap-prof" node ./custom-server.mjs
node: --heap-prof is not allowed in NODE_OPTIONS

How often does it reproduce? Is there a required condition?

everytimeevery time

What is the expected behavior? Why is that the expected behavior?

should allow pass heap-prof https://github.com/nodejs/node/pull/17600Should

What do you see instead?

error

Additional information

No response

Activity

  1. himself65 commented on Aug 7, 2024

    @himself65
    MemberAuthor

    I saw it's only allowed on Linux, but I was using it on Github CI and it's ubuntu-latest, still error

    image
  2. juanarbol commented on Aug 7, 2024

    @juanarbol
    Member

    working on this

  3. himself65 commented on Aug 7, 2024

    @himself65
    MemberAuthor

    working on this

    You are so fast! Thanks a lot!

  4. added
    cli
    on Aug 8, 2024
  5. avivkeller commented on Aug 8, 2024

    @avivkeller
    Member

    I've assigned @juanarbol, as they have opened a PR to resolve this issue. Because this is a simple fix, I don't want newcomers to come accross this issue thinking they can solve it when it's already been solved. Feel free to unassign.

  6. added
    confirmed-bug
    on Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cliconfirmed-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions