# Cannot find files for init() function

**URL:** <https://devforum.zoom.us/t/cannot-find-files-for-init-function/52193>\
**Category:** Web\
**Created:** [June 10, 2021, 2:27pm UTC](https://devforum.zoom.us/t/cannot-find-files-for-init-function/52193 "2021-06-10T14:27:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ephraimwwt](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@ephraimwwt](https://devforum.zoom.us/u/ephraimwwt)\
**Post date:** [June 10, 2021, 2:27pm UTC](https://devforum.zoom.us/t/cannot-find-files-for-init-function/52193/1 "2021-06-10T14:27:42Z")

</div>

**Description**  
I have a react app that is inside of Electron. I am trying to `init()` but it cannot see the path to the files. I have it working on the develop side by using webpack to put them in the `window.location.origin` for the dev server, and that works fine. But the way Electron works is different in Prod. I am doing the necessary steps to make the files available in Electron and can view the files just fine in the code. But when I pass that path (and variations of that path) the SDK cannot find them, even though they are there. Since there is no github for me to look at I have no idea what mechanism you are using to collect these files. The paths that I have tried are

`file://Volumes/Nipper%200.86.1/Nipper.app/Contents/Resources/lib`  
`/Volumes/Nipper%200.86.1/Nipper.app/Contents/Resources/lib`

Any thoughts on why it doesn’t reach the files? Is it possible for someone to let me know what sort of mechanism (what is the code) for retrieving these files? I am using `path.join(process.resourcesPath, 'lib')` in the code and I see all the files are there.

**Which Web Video SDK version?**  
Video SDK 1.0.3

---

<div class="post-metadata">

**Author:** ![ephraimwwt](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@ephraimwwt](https://devforum.zoom.us/u/ephraimwwt)\
**Post date:** [June 10, 2021, 8:03pm UTC](https://devforum.zoom.us/t/cannot-find-files-for-init-function/52193/2 "2021-06-10T20:03:03Z")

</div>

Ok, I ended up just putting all the files into a cloud bucket and pointing to that. So i think that this works for now. Is the SDK going to end up on Github? It’s always easier for me to figure out my own issues when I can see what the actual code is doing. Thanks.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 21, 2021, 6:17pm UTC](https://devforum.zoom.us/t/cannot-find-files-for-init-function/52193/3 "2021-06-21T18:17:45Z")

</div>

Hey @ephraimwwt ,

Happy to hear you were able to resolve your issue.

One solution is putting the lib files in your projects public asset folder like where you would store an image.

The Video SDK is now on Github: [GitHub - zoom/videosdk-web: Zoom Video SDK](https://github.com/zoom/videosdk-web)

Thanks,  
Tommy

---

<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:** [July 22, 2021, 4:18am UTC](https://devforum.zoom.us/t/cannot-find-files-for-init-function/52193/4 "2021-07-22T04:18:18Z")

</div>

Closed on July 22, 2021, 4:18am UTC

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