You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me a long time to find out this was the offensive code so I packaged a simple stripped down example of the code into this zip for reproducing: typescript-az-fn.zip
Steps I undertook:
Create Typescript Function Project from VS Code with the Azure Function boilerplate code generator.
Added reference to the library gltf-transform, specifically "@gltf-transform/core": "^4.1.0", "@gltf-transform/functions": "^4.1.0"
Debug locally with func start - method appears. All good.
Attempt to deploy to Azure Function with F1 -> Azure Functions: Deploy To Functions App. Deployment claimed to be successful, but no function found on Function page on Azure.
Remove the offending line await doc.transform(textureCompress({targetFormat: 'jpeg', resize: [512, 512] })) which uses the gltf-transform/functions package and redeploy -> method shows up in Azure Function's page.
My question is hence, what is it in this library that does not play well with the NodeJS runtime of Azure Function?
The text was updated successfully, but these errors were encountered:
It took me a long time to find out this was the offensive code so I packaged a simple stripped down example of the code into this zip for reproducing: typescript-az-fn.zip
Steps I undertook:
gltf-transform
, specifically"@gltf-transform/core": "^4.1.0", "@gltf-transform/functions": "^4.1.0"
func start
- method appears. All good.F1 -> Azure Functions: Deploy To Functions App
. Deployment claimed to be successful, but no function found on Function page on Azure.await doc.transform(textureCompress({targetFormat: 'jpeg', resize: [512, 512] }))
which uses thegltf-transform/functions
package and redeploy -> method shows up in Azure Function's page.My question is hence, what is it in this library that does not play well with the NodeJS runtime of Azure Function?
The text was updated successfully, but these errors were encountered: