# Not work with remix.js

**URL:** <https://pdfjs.community/t/not-work-with-remix-js/3202>\
**Category:** Bug Reports\
**Created:** [March 26, 2024, 1:37pm UTC](https://pdfjs.community/t/not-work-with-remix-js/3202 "2024-03-26T13:37:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://pdfjs.community/u/Steven)\
**Post date:** [March 26, 2024, 1:37pm UTC](https://pdfjs.community/t/not-work-with-remix-js/3202/1 "2024-03-26T13:37:48Z")

</div>

Hello,

Hope you are doing well!

I am using this library with the remix.js([https://remix.run/](https://remix.run/)) but it not work with this plat form so could you please let me know that it is supported with remix.js

And if yes then could you please one demo of pdf annotation with remix.js?

Thank you.

---

<div class="post-metadata">

**Author:** ![ejohnson](https://avatars.discourse-cdn.com/v4/letter/e/a3d4f5/32.png) [@ejohnson](https://pdfjs.community/u/ejohnson)\
**Post date:** [March 26, 2024, 4:06pm UTC](https://pdfjs.community/t/not-work-with-remix-js/3202/3 "2024-03-26T16:06:54Z")

</div>

Thank you for posting your question to our forum. We will provide you with an update as soon as possible.

---

<div class="post-metadata">

**Author:** ![bjovanovic](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@bjovanovic](https://pdfjs.community/u/bjovanovic)\
**Post date:** [March 27, 2024, 3:47pm UTC](https://pdfjs.community/t/not-work-with-remix-js/3202/4 "2024-03-27T15:47:58Z")

</div>

Hi Steven,

Here is a FAQ about frameworks: [Which frameworks are compatible with PDF.js Express?](https://pdfjs.community/t/which-frameworks-are-compatible-with-pdf-js-express/35)  
Not entirely sure why it does not work with remix.js, but it might be due to the SSR. Can you provide us with any errors you are getting?

---

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://pdfjs.community/u/Steven)\
**Post date:** [March 28, 2024, 11:36am UTC](https://pdfjs.community/t/not-work-with-remix-js/3202/5 "2024-03-28T11:36:30Z")

</div>

Hello

Thankx for the replay.

We face the following error that i attached in screen shot.

 ![Screenshot 2024-03-28 at 1.37.24 PM](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/2/294c11a6dd6036e1ffc10d49d70e7e7f13675264.png)

---

<div class="post-metadata">

**Author:** ![bjovanovic](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@bjovanovic](https://pdfjs.community/u/bjovanovic)\
**Post date:** [April 2, 2024, 2:34pm UTC](https://pdfjs.community/t/not-work-with-remix-js/3202/6 "2024-04-02T14:34:33Z")

</div>

Hi Steven,

From the error, it seems that WebViewer is unable to target the DOM element. Can you please send us a **minimal reproducible sample** of your project, so we can conduct our internal testing?

Question: Have you maybe tried our WebViewer?

> **[WebViewer: JavaScript Document SDK | Apryse](https://apryse.com/products/webviewer)**
>
> Discover seamless document viewing, annotation, and collaboration with Apryse WebViewer. Effortlessly navigate and edit your files online.

> **[Web | Apryse Documentation](https://docs.apryse.com/documentation/web/)**
>
> World's #1 PDF SDK Library for Web, Mobile, Server, Desktop

\*A minimal runnable reproducible sample refers to a simplified version of your project where unrelated/unnecessary code has been removed. The issue should still be reproducible in this simplified version.

This helps us isolate and understand the problem more efficiently. You can attach your project here or provide us with a download link or GitHub repo.

---

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://pdfjs.community/u/Steven)\
**Post date:** [April 8, 2024, 4:42am UTC](https://pdfjs.community/t/not-work-with-remix-js/3202/7 "2024-04-08T04:42:20Z")

</div>

Here is the sendbox demo link and in terminal you able to see the error that we face.  
[https://codesandbox.io/p/devbox/elastic-cloud-c5s9cl?file=%2Fpackage.json%3A17%2C33](https://codesandbox.io/p/devbox/elastic-cloud-c5s9cl?file=%2Fpackage.json%3A17%2C33)

Let me know if you have any query in demo.
