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
Hi, we're trying to migrate our monorepo from NPM & Lerna to PNPM & PNPM workspaces. So far everything has gone smoothly and works fine locally. When we try to deploy the monorepo to Azure app services via ARM templates we've experienced quite a few problems namely around transpilation errors which causes the windows app service to not startup properly (see below code snippets. It seems we're experiencing the same problem on windows & Linux app services). Is PNPM supported for use in Azure environments or is iisnode/Azure app services compatible with exclusively NPM?
2023-02-03T14:38:07.932350549Z > e******@0.1.0 start /home/site/wwwroot
2023-02-03T14:38:07.932369649Z > NODE_ENV=production node server.js
2023-02-03T14:38:07.932374249Z
2023-02-03T14:38:08.434220079Z /home/site/wwwroot/node_modules/applicationinsights:1
2023-02-03T14:38:08.434279880Z .pnpm/a******@2.4.1/node_modules/applicationinsights
2023-02-03T14:38:08.434286380Z ^
2023-02-03T14:38:08.434290380Z
2023-02-03T14:38:08.434294080Z SyntaxError: Unexpected token '.'
2023-02-03T14:38:08.434297580Z at wrapSafe (internal/modules/cjs/loader.js:1001:16)
2023-02-03T14:38:08.434301080Z at Module._compile (internal/modules/cjs/loader.js:1049:27)
2023-02-03T14:38:08.434304480Z at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
2023-02-03T14:38:08.434307880Z at Module.load (internal/modules/cjs/loader.js:950:32)
2023-02-03T14:38:08.434311180Z at Function.Module._load (internal/modules/cjs/loader.js:790:12)
2023-02-03T14:38:08.434314480Z at Module.require (internal/modules/cjs/loader.js:974:19)
2023-02-03T14:38:08.434318080Z at require (internal/modules/cjs/helpers.js:101:18)
2023-02-03T14:38:08.434321580Z at Object. (/home/site/wwwroot/server.js:4:21)
2023-02-03T14:38:08.434325480Z at Module._compile (internal/modules/cjs/loader.js:1085:14)
2023-02-03T14:38:08.434328880Z at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
Fri Feb 03 2023 15:55:37 GMT+0000 (Coordinated Universal Time): Application has thrown an uncaught exception and is terminated:
C:\home\site\wwwroot\node_modules\applicationinsights:1
.pnpm/[email protected]/node_modules/applicationinsights
^
SyntaxError: Unexpected token '.'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\home\site\wwwroot\server.js:4:21)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
Application has thrown an uncaught exception and is terminated:
C:\home\site\wwwroot\node_modules\applicationinsights:1
.pnpm/[email protected]/node_modules/applicationinsights
^
SyntaxError: Unexpected token '.'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\home\site\wwwroot\server.js:4:21)
at Module._compile (node:internal/modules/cjs/loader:1
The text was updated successfully, but these errors were encountered:
Hi, we're trying to migrate our monorepo from NPM & Lerna to PNPM & PNPM workspaces. So far everything has gone smoothly and works fine locally. When we try to deploy the monorepo to Azure app services via ARM templates we've experienced quite a few problems namely around transpilation errors which causes the windows app service to not startup properly (see below code snippets. It seems we're experiencing the same problem on windows & Linux app services). Is PNPM supported for use in Azure environments or is iisnode/Azure app services compatible with exclusively NPM?
The text was updated successfully, but these errors were encountered: