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

node_modules/@cld-apis/types/lib/index.d.ts:38:23 - error TS2307: Cannot find module './asset/Asset' or its corresponding type declarations. #18

Closed
bjornharvold opened this issue Jan 31, 2021 · 3 comments · Fixed by #19
Labels
bug Something isn't working

Comments

@bjornharvold
Copy link

Hi @mayashavin

Great library! Well done. Made my day as it's currently the only way of passing dynamic variables. cl-image doesn't support that yet.

I am trying to compile my Angular library that uses the buildImageUrl. It's failing during compilation:

✖ Compiling TypeScript sources through NGC
ERROR: node_modules/@cld-apis/types/lib/index.d.ts:38:23 - error TS2307: Cannot find module './asset/Asset' or its corresponding type declarations.

38 export { Asset } from './asset/Asset'
                         ~~~~~~~~~~~~~~~

An unhandled exception occurred: node_modules/@cld-apis/types/lib/index.d.ts:38:23 - error TS2307: Cannot find module './asset/Asset' or its corresponding type declarations.

38 export { Asset } from './asset/Asset'
                         ~~~~~~~~~~~~~~~

By looking in index.d.ts you can see that there is no asset directory nor an Asset class.

@mayashavin
Copy link
Owner

Hi @bjornharvold,

Thank you for reporting and kind words :). About the compilation error, I will release a fix today. :) Have a nice day!

@mayashavin mayashavin added the bug Something isn't working label Feb 1, 2021
@bjornharvold
Copy link
Author

Thank you @mayashavin - Please release to npmjs.com when you can.

@mayashavin
Copy link
Owner

mayashavin commented Feb 3, 2021

@bjornharvold please install the latest version 0.1.3 for cld-apis/types, cld-apis/utils and 0.2.1 for cloudinary-build-url :)

Let me know if any problem :)

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

Successfully merging a pull request may close this issue.

2 participants