Skip to content

Requires Node16/NodeNext? #432

Answered by chriskrycho
mrwizard82d1 asked this question in Q&A
Discussion options

You must be logged in to vote

I believe this is a function of your Node and TS configurations, based on the issues you're seeing. Per the release notes for v6, you must:

  • be on Node 14+
  • be on TS 4.7+
  • be using moduleResolution: "Node16" in your tsconfig.json
  • be using type: "module" or using import() to import the files if in a CJS build

If all of those are true and you’re still having this issue, please let us know!

(Related, but not identical: #380)

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@chriskrycho
Comment options

Answer selected by chriskrycho
Comment options

You must be logged in to vote
2 replies
@chriskrycho
Comment options

@chriskrycho
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #416 on September 07, 2022 19:49.