Skip to content

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

Closed
@himself65

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

Metadata

Metadata

Assignees

Labels

cliIssues and PRs related to the Node.js command line interface.confirmed-bugIssues with confirmed bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions