Cannot augment module ‘console’ with value exports because it resolves to a non-module entity.

This error message appears when typings are exposed globally, yet TypeScript tries to validate module typings and the names conflict.

I got this with a Figma widget module @figma/plugin-typings, and the solution was quite simple – add this to your .tsconfig.json:

  "compilerOptions": {
    "skipLibCheck": true,

Et voilà!

Did you know that I made an in-browser image converter, where you can convert your images without uploading them anywhere? Try it out and let me know what you think. It's free.

Leave a Comment

Your email address will not be published. Required fields are marked *