# Angular Error - av/1508\_js\_media.min.js Cannot destructure property 'mappings' of 'map' as it is null

**URL:** <https://devforum.zoom.us/t/angular-error-av-1508-js-media-min-js-cannot-destructure-property-mappings-of-map-as-it-is-null/56692>\
**Category:** Web\
**Created:** [August 31, 2021, 7:54am UTC](https://devforum.zoom.us/t/angular-error-av-1508-js-media-min-js-cannot-destructure-property-mappings-of-map-as-it-is-null/56692 "2021-08-31T07:54:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuart\_b](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@stuart\_b](https://devforum.zoom.us/u/stuart_b)\
**Post date:** [August 31, 2021, 7:54am UTC](https://devforum.zoom.us/t/angular-error-av-1508-js-media-min-js-cannot-destructure-property-mappings-of-map-as-it-is-null/56692/1 "2021-08-31T07:54:21Z")

</div>

Hi All,

Trying to get the @zoom1234/websdk to work in an Angular12 project. When I run ‘ng serve -o’ I run into several errors.

Error: Optimization error [node\_modules/@zoomus/websdk/dist/lib/av/1508\_js\_media.min.js]: TypeError: Cannot destructure property ‘mappings’ of ‘map’ as it is null.

SDK version 1.98  
Angular: 12.2.0

 ![Screen Shot 2021-08-31 at 11.52.30 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/6/b657fa850640c1fb32c59755e544f9b3d5bc03bd.jpeg)

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 2, 2021, 11:34pm UTC](https://devforum.zoom.us/t/angular-error-av-1508-js-media-min-js-cannot-destructure-property-mappings-of-map-as-it-is-null/56692/2 "2021-09-02T23:34:49Z")

</div>

Hey @stuart_b,

Thank you for reaching out to the Zoom Developer Forum. Have you had a chance to reference our [Sample Angular App](https://github.com/zoom/websdk-sample-angular)? I would test with that and reference the code to see if you can spot a difference in how the dependencies are imported.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 3, 2021, 9:35am UTC](https://devforum.zoom.us/t/angular-error-av-1508-js-media-min-js-cannot-destructure-property-mappings-of-map-as-it-is-null/56692/3 "2021-10-03T09:35:04Z")

</div>

Closed on October 3, 2021, 9:35am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
