Skip to content

error TS5109: Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'. #256

Closed Answered by favna
KohnoseLami asked this question in Q&A
Discussion options

You must be logged in to vote

This will be fixed with sapphiredev/utilities#637 which will be released within the next 30 or so minutes. You'll then be able to update to @sapphire/ts-config v5 (upgrading guide will be linked in the breaking changes notes) and it should work again. Alternatively for now lock your typescript to 5.1 by setting it to ~5.1.x in your package.json

Replies: 1 comment 2 replies

Comment options

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

@favna
Comment options

Answer selected by favna
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants