You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exports field in package.json is kind of misconfigured, since it misses types, leading to the following error when setting moduleResolution to Node16 or NodeNext in tsconfig.json:
error TS7016: Could not find a declaration file for module 'filemanager-webpack-plugin'
Issue
The
exports
field inpackage.json
is kind of misconfigured, since it missestypes
, leading to the following error when settingmoduleResolution
toNode16
orNodeNext
intsconfig.json
:Here is a comment from TypeScript that explains this issue: TypeScript module "Node16" does not resolve types of CJS module
Simply adding
types
inexports
could address this issue.Your Environment
The text was updated successfully, but these errors were encountered: