Skip to content

NameNodeMap is not defined #150

@Tomdrouv1

Description

@Tomdrouv1

Hi,

I'm actually using @cloudinar/angular-5.x, version 1.0.1 and I notice an error during server side rendering for images which are call with clSrc directive :

ERROR ReferenceError: NamedNodeMap is not defined 1|ssr-happ | at isNamedNodeMap (/usr/share/nginx/html/happeero/node_modules/@cloudinary/angular-5.x/src/cloudinary.service.js:17:78) 1|ssr-happ | at transformKeyNames (/usr/share/nginx/html/happeero/node_modules/@cloudinary/angular-5.x/src/cloudinary.service.js:37:14) 1|ssr-happ | at Cloudinary.toCloudinaryAttributes (/usr/share/nginx/html/happeero/node_modules/@cloudinary/angular-5.x/src/cloudinary.service.js:117:23) 1|ssr-happ | at CloudinaryImageSourceDirective.ngAfterViewInit (/usr/share/nginx/html/happeero/node_modules/@cloudinary/angular-5.x/src/cloudinary-image-source.directive.js:45:39) 1|ssr-happ | at callProviderLifecycles (/usr/share/nginx/html/happeero/node_modules/@angular/core/bundles/core.umd.js:12786:18) 1|ssr-happ | at callElementProvidersLifecycles (/usr/share/nginx/html/happeero/node_modules/@angular/core/bundles/core.umd.js:12753:13) 1|ssr-happ | at callLifecycleHooksChildrenFirst (/usr/share/nginx/html/happeero/node_modules/@angular/core/bundles/core.umd.js:12736:29) 1|ssr-happ | at checkAndUpdateView (/usr/share/nginx/html/happeero/node_modules/@angular/core/bundles/core.umd.js:13891:5) 1|ssr-happ | at callViewAction (/usr/share/nginx/html/happeero/node_modules/@angular/core/bundles/core.umd.js:14233:21) 1|ssr-happ | at execEmbeddedViewsAction (/usr/share/nginx/html/happeero/node_modules/@angular/core/bundles/core.umd.js:14191:17).

Thanks for your help.
P.S : Can't wait for Angular 6 version 😉

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