Skip to content

Error: spawn C:\home\site\wwwroot\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs ENOENTat  #709

@truekamleshsingh

Description

@truekamleshsingh

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']}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions