Closed ClementValot closed 2 years ago
I can't recreate this problem with node 16.15.0 on macOS using the provided steps. It doesn't seem to be an issue with tplant
unless the code to reproduce is modifying this tsconfig.json. Taking a shot in the dark at what the problem might be, perhaps it is node16
and not Node16
?
My lockfile had tplant rely on an older version of Typescript, which did not support Node16, despite typescript 4.7 being installed locally. yarn upgrade tplant
fixed it :)
Node16
and node16
are equivalent as far as I am aware
Describe the bug
Actual behavior
Using tplant CLI with Typescript 4.7 and moduleResolution="Node16" raises the following error:
Code to reproduce
package.json
tsconfig.json
"moduleResolution": "Node16" is required for Typescript 4.7 support of the exports field in package.json