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: This dependency was not found: * child_process in ./node_modules/wkhtmltopdf/index.js #129

Open
masterphp14 opened this issue Apr 16, 2020 · 2 comments

Comments

@masterphp14
Copy link

when npm run start, I got error like this.
Error: This dependency was not found: * child_process in ./node_modules/wkhtmltopdf/index.js

i have tried install "npm install --save child_process"
but still got the same error. what should i do?
Screenshot from 2020-04-16 15-22-28

@zxlin
Copy link
Collaborator

zxlin commented Jul 9, 2020

What's your version of node?

This looks like an issue with an old version maybe? because child_process is native to node.

@CherryDT
Copy link

CherryDT commented Jul 6, 2021

"Client" sounds as if you are trying to run wkhtmltopdf in the browser, this cannot work. You need to execute it on your server.

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

3 participants