Open truekamleshsingh opened 2 months ago
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']}
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']}