gajus / table

Formats data into a string table.
Other
894 stars 77 forks source link

Module cannot be found error #198

Closed tobias-93 closed 2 years ago

tobias-93 commented 2 years ago

When this module is used in context of another module (so simply by running npm install -g <some-package>), I get the following error: Error: Cannot find module '<...>\node_modules\table\dist\index.js'. Please verify that the package.json has a valid "main" entry

I see that there is a file called index.js in the folder dist\src, so maybe some settings for package generation are wrong? I expect commit d58adb17d4d976b4090c2c629d8b8d35334436ba broke it...

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 6.7.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

nam-hle commented 2 years ago

@tobias-93 My bad. I added test directory into tsconfig but did not re-check the bundle files. Thanks for reporting.