Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cannot find module" on version 6.0.0 #169

Closed
2colours opened this issue Aug 17, 2023 · 2 comments
Closed

"Cannot find module" on version 6.0.0 #169

2colours opened this issue Aug 17, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@2colours
Copy link

Hi Casper,

when I upgraded to version 6.0.0, I got the following error at my import statement:

import { PasteClient } from 'pastebin-api';

cannot find module 'pastebin-api' or its corresponding type declarations

Indeed, there seems to be something wrong about this release: under the node_modules folder of this module, there used to be a dist folder. Now there is nothing instead.

Could you please look into this problem?

I don't think this is environment specific but for good manners: running Node v18.7.0 with Yarn 1.22.19, on a WSL Ubuntu 20.04 (5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux)

@casperiv0 casperiv0 self-assigned this Aug 17, 2023
@casperiv0 casperiv0 added the bug Something isn't working label Aug 17, 2023
@casperiv0
Copy link
Owner

Thank you for the detailed issue report! Indeed, somehow it didn't upload the compiled code. This should now be fixed on 6.1.0. Are you able to update and verify this is fixed, thanks!

@2colours
Copy link
Author

Oh nice, it seems to be okay with the update. :) That was quick. Thank you, still going pastebin-api still going strong! 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants