Skip to content

Cannot read properties of null (reading 'toURL') for cloudinary/ng #149

@indraraj26

Description

@indraraj26

New issue for cloudinary/frontend-frameworks

Before proceeding, please update to the latest version and test if the issue persists

For which package is this issue?

"@cloudinary/ng": "^1.4.1",
"@cloudinary/url-gen": "^1.8.0",

Describe the issue in a sentence or two.

I have created pipe which is asynchronous getting key from X server then perform getImage.
This is how I am using in my template, The image is getting loaded properly but throwing error in console

  <advanced-image [cldImg]="path | cloudinaryGetImage | async"></advanced-image>

Issue Type (Can be multiple)

[ ] Build - Can’t install or import the SDK
[ ] Performance - Performance issues
[ ] Behaviour - Functions aren’t working as expected
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Incorrect Types
[X] Other (Specify)
Error

Steps to reproduce

… if applicable

Error screenshots

image

Browsers (if issue relates to UI, else ignore)

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Other (Specify)
[ ] All

Versions and Libraries (fill in the version numbers)

package SDK version
Node - v14.17.1
NPM - 6.14.13
Angular: 13.2.2

Config Files (Please paste the following files if possible)

Package.json

Repository

If possible, please provide a link to a reproducible repository that showcases the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions