Closed
Description
This package import some utilities from react-dom
:
But react-dom
is not specified as dependency or peerDependency
Lines 38 to 49 in 2297944
This cause Cannot file module 'react-dom'
errors when using it with Ink (react for cli/terminal).
Installing react-dom
does fix the issue (bit weird to install it for terminal app, but what can you do :) ). If react-dom
is being used, it should be either dependency (probably not the way here) or peerDependency so package managers warn about missing dependency before we run into issues like that.
Issue discovered in gatsbyjs/gatsby#18603
Metadata
Metadata
Assignees
Labels
No labels