When running firebase deploy --only hosting in a turborepo project it seems that firebase run the next npm command as part of series of scripts:
npm i --omit dev --no-audit
This command in a turborepo pnpm workspace failed with the next error:
│ npm ERR! code EUNSUPPORTEDPROTOCOL
│ npm ERR! Unsupported URL Type "workspace:": workspace:*
│
│ npm ERR! A complete log of this run can be found in: C:\Users\Usuario\npm-cache\_logs\2024-06-16T09_49_17_153Z-debug-0.lo
│ g
│ [2024-06-16T09:49:17.454Z] Error: Command failed: npm i --omit dev --no-audit
│ at checkExecSyncError (node:child_process:890:11)
│ at execSync (node:child_process:962:15)
│ at prepareFrameworks (C:\Users\Usuario\AppData\Roaming\nvm\v20.10.0\node_modules\firebase-tools\lib\frameworks\index.
│ js:371:42)
│ at async deploy (C:\Users\Usuario\AppData\Roaming\nvm\v20.10.0\node_modules\firebase-tools\lib\deploy\index.js:55:13)
│
│ Error: An unexpected error has occurred.
│ ELIFECYCLE Command failed with exit code 2.
Could Firebase support pnpm natively without having to do any workaround?
When running
firebase deploy --only hosting
in a turborepo project it seems that firebase run the next npm command as part of series of scripts:npm i --omit dev --no-audit
This command in a turborepo pnpm workspace failed with the next error:
Could Firebase support pnpm natively without having to do any workaround?