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: spawn C:\home\site\wwwroot\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs ENOENTat #709

Open
TechKamleshSingh opened this issue May 16, 2024 · 0 comments

Comments

@TechKamleshSingh
Copy link

I am using html-pdf, handlebar, node js in azure function app with typescript

If i am running timer trigger az fun in local its generating the reports but when i deployed in production with vs code then the az fun givin this error

PLEASE HELP ME OUT THIS

Error: spawn C:\home\site\wwwroot\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs ENOENTat Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)at onErrorNT (node:internal/child_process:478:16)at processTicksAndRejections (node:internal/process/task_queues:83:21) {errno: -4058,code: 'ENOENT',syscall: 'spawn C:\home\site\wwwroot\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs',path: 'C:\home\site\wwwroot\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs',spawnargs: ['--local-url-access=false','C:\home\site\wwwroot\node_modules\html-pdf\lib\scripts\pdf_a4_portrait.js']}

@TechKamleshSingh TechKamleshSingh changed the title Error: spawn C:\home\site\wwwroot\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs ENOENTat Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)at onErrorNT (node:internal/child_process:478:16)at processTicksAndRejections (node:internal/process/task_queues:83:21) {errno: -4058,code: 'ENOENT',syscall: 'spawn C:\\home\\site\\wwwroot\\node_modules\\phantomjs-prebuilt\\lib\\phantom\\bin\\phantomjs',path: 'C:\\home\\site\\wwwroot\\node_modules\\phantomjs-prebuilt\\lib\\phantom\\bin\\phantomjs',spawnargs: ['--local-url-access=false','C:\\home\\site\\wwwroot\\node_modules\\html-pdf\\lib\\scripts\\pdf_a4_portrait.js']} Error: spawn C:\home\site\wwwroot\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs ENOENTat May 16, 2024
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