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

Unable to require jsdom #1128

Closed
pofider opened this issue Apr 16, 2024 · 1 comment
Closed

Unable to require jsdom #1128

pofider opened this issue Apr 16, 2024 · 1 comment

Comments

@pofider
Copy link
Contributor

pofider commented Apr 16, 2024

https://playground.jsreport.net/w/anon/Nq7CyAhG

Error when evaluating custom script /script
Unable to require module /tmp/jsreport/npm/modules/jsdom@17.0.0/node_modules/jsdom. resolveModulePath is not a function
TypeError: resolveModulePath is not a function
    at resolveFilename (/app/node_modules/@jsreport/jsreport-core/lib/worker/sandbox/resolveFilename.js:19:24)
    at Function.resolve (/app/node_modules/@jsreport/jsreport-core/lib/worker/sandbox/isolatedRequire.js:195:12)
    at Object.<anonymous> (/tmp/jsreport/npm/modules/jsdom@17.0.0/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:31:50)
@davericher
Copy link

Interested!

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

2 participants