Skip to content

Node warning 1335254 using node v20.12.0 #7372

Closed
@aspeddro

Description

@aspeddro

./cli/rescript.js build --help command print node warning 1335254

(node:1335254) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Usage: rescript build <options> -- <ninja_options>

`rescript build` builds the project with dependencies

`rescript build -- -h` for Ninja options (internal usage only; unstable)

Options:
  -w           Watch mode
  -ws          [host]:port set up host & port for WebSocket build notifications
  -verbose     Set the output to be verbose
  -with-deps   *deprecated* This is the default behavior now. This option will be removed in a future release
  -warn-error  Warning numbers and whether to turn them into errors, e.g., "+8+32-102"

Node v20.19.0 (version used on CI) don't print this warning

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions