pfgray / ts-adt

Generate Algebraic Data Types and pattern matchers
MIT License
314 stars 13 forks source link

Cannot install ts-adt #31

Closed alarbada closed 3 years ago

alarbada commented 3 years ago

I don't know why exactly, but a fresh install in my Ubuntu 20 cannot make use of your library.

Node version: 14.16.0 npm version: 6.14.13

Commands followed: $ npm init -y $ npm install ts-adt

Error:

Cannot find module 'ts-adt' or its corresponding type declarations

Maybe it is something to do with the main entry in the package.json? No idea.

pfgray commented 3 years ago

Ok, looks like I bundled the 2.1.0 version, and in my attempt to fix it, also the 2.1.1 version, but 2.1.2 should work :) try re-installing, thanks for the report, and sorry for the inconvenience!