Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: thread constructor failed: Resource temporarily unavailable #1

Open
JounQin opened this issue Mar 26, 2025 · 1 comment
Open

Comments

@JounQin
Copy link

JounQin commented Mar 26, 2025

import AsposePdf from 'asposepdfnodejs'
const AsposePdfModule = await AsposePdf()

const json = AsposePdfModule.AsposePdfToDocX(
  new URL('Doom-zh.pdf', import.meta.url).pathname,
  new URL('Doom-zh.docx', import.meta.url).pathname,
)

console.log(
  'AsposePdfToDocX => %O',
  json.errorCode == 0 ? json.fileNameResult : json.errorText,
)

If you want, I can send the .pdf via email.

@JounQin
Copy link
Author

JounQin commented Mar 26, 2025

I'm then trying aspose-pdf-js on the web instead, but

You need to use encrypt_lic.html to get an encrypted license file for running in full-featured mode.

Do I need .lic-file only for prototyping? Without it, I'm getting /aspose.enc 404 (Not Found) expected, with unexpected:

Image

For example_worker.html, it results same as Node.js:

Error: thread constructor failed: Resource temporarily unavailable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant