[Bug] The new version 0.1.32 try find a non-existing file by running the resolve the pdf.js
**Describe the bug**
That happens after upgrading to 0.1.32, it seems there are some incapable issues for node 20
It seems the package is trying to find a non-existing file by running the resolve the pdf.js
```
node_modules\pdfjs-dist\legacy\build\pdf doesn't exist
node_modules\pdfjs-dist\legacy\build\pdf.js doesn't exist
node_modules\pdfjs-dist\legacy\build\pdf.ts doesn't exist
```
**To Reproduce**
Steps to reproduce the behavior:
1. Go to terminal
2. Run the npm build with the package update to 0.1.32
3. Invoke error and build fail
4. See error
**Expected behavior**
Build without any error
**Screenshots**

**Desktop (please complete the following information):**
- OS: Windows
- Browser VSCode
- Node Version v20.16.0
- Package Version 0.1.32
关闭于 2024-11-28 3 条评论