An Azure service that provides an event-driven serverless compute platform.
Function app not support the node version 14
Vijay A
0
Reputation points
In using node version 14 in my function app and runtime version is 4, there is no issue up to march 13 2024, and i have deployed some minor changes at march 14 2024 then the deployed code getting node version error, if i role back to older release it will working fine i have no idea what happens here. Im getting some module not found error at console i have attaching some error message with this statement please help me.
[Error] Executed 'Functions.function-ivsm' (Failed, Id=32372f5f-d821-4e37-a0f0-2b911451104d, Duration=2ms)
Result: FailureException: Worker was unable to load function function-ivsm: 'Unexpected token '??=''
Stack: /home/site/wwwroot/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/multipartPolicy.js:99boundary ??= parsedBoundary;^^^SyntaxError: Unexpected token '??='
at wrapSafe (internal/modules/cjs/loader.js:1029:16)
at Module._compile (internal/modules/cjs/loader.js:1078:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Module.require (internal/modules/cjs/loader.js:1003:19)
at Object.apply (/azure-functions-host/workers/node/dist/src/worker-bundle.js:2:49412)
at require (internal/modules/cjs/helpers.js:107:18)
at Object.<anonymous> (/home/site/wwwroot/node_modules/@azure/core-rest-pipeline/dist/commonjs/createPipelineFromOptions.js:10:30)
at Module._compile (internal/modules/cjs/loader.js:1114:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Module.require (internal/modules/cjs/loader.js:1003:19)
at Object.apply (/azure-functions-host/workers/node/dist/src/worker-bundle.js:2:49412)
at require (internal/modules/cjs/helpers.js:107:18)
Azure Functions
Azure Functions
Sign in to answer