Skip to content

Conversation

@mfazekas
Copy link
Contributor

In node 14.17 I'm seeing this:

% node --version
v14.17.0

Error: Cannot find module 'node:path'
Require stack:
-  node_modules/react-docgen/dist/babelParser.js

From docs it sounds like node: imports added to 14.18 or later (and also to 14.13.1 ???) https://nodejs.org/api/esm.html#node-imports

In node 14.17 I'm seeing this:

```sh
% node --version
v14.17.0

Error: Cannot find module 'node:path'
Require stack:
-  node_modules/react-docgen/dist/babelParser.js

```

From docs it sounds like `node:` imports added to 14.18 or later (and also to 14.13.1 ???)
https://nodejs.org/api/esm.html#node-imports
@danez
Copy link
Collaborator

danez commented Oct 6, 2022

Thanks.

@danez danez added the chore label Oct 6, 2022
@danez danez added this to the v6 milestone Oct 6, 2022
@danez danez merged commit f41b034 into reactjs:main Oct 6, 2022
@danez danez added bug and removed chore labels Oct 6, 2022
@danez danez mentioned this pull request Oct 6, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants