Replies: 1 comment 4 replies
-
Hello? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Running node 16.14.0
We are having issues getting the Azure publish function to work.
We had to change some lines in the webpack.function.js as it seemed not longer up to date.
For it to build we needed to add :
But when pushing the output of npm build-function to an Azure Function we are receiving the following error :
2022-10-12T14:09:40.365 [Error] Executed 'Functions.publish' (Failed, Id=f6d526ef-9255-4b97-be1f-4b2b98190d8f, Duration=5ms)Result: FailureException: Worker was unable to load function publish: 'node-loader:Error: The specified module could not be found.C:\home\site\wwwroot\publish\be251332463eae5a676d4a51af1cc999.node'Stack: Error: Worker was unable to load function publish: 'node-loader:Error: The specified module could not be found.C:\home\site\wwwroot\publish\be251332463eae5a676d4a51af1cc999.node'at eval (webpack://function/./node_modules/canvas/build/Release/canvas.node?:6:9)at Object../node_modules/canvas/build/Release/canvas.node (C:\home\site\wwwroot\publish\index.js:12470:1)at webpack_require (C:\home\site\wwwroot\publish\index.js:23363:42)at eval (webpack://function/./node_modules/canvas/lib/bindings.js?:3:18)at Object../node_modules/canvas/lib/bindings.js (C:\home\site\wwwroot\publish\index.js:2941:1)at webpack_require (C:\home\site\wwwroot\publish\index.js:23363:42)at eval (webpack://function/./node_modules/canvas/lib/canvas.js?:9:18)at Object../node_modules/canvas/lib/canvas.js (C:\home\site\wwwroot\publish\index.js:2952:1)at webpack_require (C:\home\site\wwwroot\publish\index.js:23363:42)at eval (webpack://function/./node_modules/canvas/index.js?:1:16)
Could somebody guide us in the right direction?
Thanks a lot!
Regards
Marc
Beta Was this translation helpful? Give feedback.
All reactions