google / ground-platform

Ground hosted components: Web console, Cloud Functions, db config
http://groundplatform.org
Apache License 2.0
205 stars 84 forks source link

Decouple npm scripts #1862

Closed gino-m closed 3 months ago

gino-m commented 3 months ago

Deploy is failing with:

i  functions: updating Node.js 18 (1st Gen) function sessionLogin(us-central1)...
Build failed: > preinstall
> npm run build --workspace=../lib

npm error No workspaces found:
npm error   --workspace=../lib

npm error A complete log of this run can be found in: /www-data-home/.npm/_logs/2024-06-19T15_40_22_695Z-debug-0.log
npm error code 1
npm error path /workspace
npm error command failed
npm error command sh -c npm run build --workspace=../lib

npm error A complete log of this run can be found in: /www-data-home/.npm/_logs/2024-06-19T15_40_12_790Z-debug-0.log; Error ID: beaf8772