codesandbox / codesandbox/codesandbox-client
"process.binding is not supported" when integrating pdf.js
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🐛 bug report
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project
adheres to. - I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
Wanted to run pdf.js inside a vue.js app, but got that message
How has this issue affected you? What are you trying to accomplish?
Can show PDF
To Reproduce
Link to sandbox: https://codesandbox.io/s/confident-rumple-oegvq
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | |
| Browser | Chrome v93 |
| Operating System | Mac Big Sur |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox reproduction and inspect how pdf.js is integrated into the Vue.js app in Chrome 93. Reproduce the “process.binding is not supported” error and identify the integration change needed; done means the app can show the PDF without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100