Closed FelixRichter2000 closed 4 months ago
I just noticed this similar issue: https://github.com/0x80/mono-ts/issues/12#issuecomment-2030683506
I will try the WSL think next.
Thanks for reporting this. Good to hear that you found a clue already.
Looking at the debug output it seems that definitely the paths are messed up, so likely that is related.
debug Workspace root resolved to C:\Users\myself\WebstormProjects\mono-ts
debug Isolate target package (root)/\services\api
debug Isolate output directory (root)/\services\api\isolate
debug Detected package manager pnpm 9.0.4+sha256.caa915eaae9d9aefccf50ee8aeda25a2f8684d8f9d5c6e367eaf176d97c1f89e
debug Use PNPM pack instead of NPM pack
debug Detected pnpm packages globs: [ 'apps/*', 'packages/*', 'services/*' ]
debug Registering package ./apps\web
debug Registering package ./packages\typescript-config
debug Registering package ./packages\eslint-config
debug Registering package ./packages\common
debug Registering package ./packages\backend
debug Registering package ./services\fns
debug Registering package ./services\api
debug Packed (temp)/repo-backend-0.0.0.tgz
debug Packed (temp)/repo-common-0.0.0.tgz
debug Unpacking (temp)/repo-backend-0.0.0.tgz
debug Unpacking (temp)/repo-common-0.0.0.tgz
debug Moved package files to (isolate)/\packages\common
debug Moved package files to (isolate)/\packages\backend
debug Packed (temp)/repo-api-0.0.0.tgz
info Generating PNPM lockfile...
debug Relevant importer ids: [ 'services/api', 'packages\\backend', 'packages\\common' ]
I have renamed the title, to make it clear that is likely about broader support for Windows.
Ultimately this is something that I need to fix as part of isolate-package, so I'll create an issue there.
It works with WSL for me and I would appreciate the windows support.
@FelixRichter2000 I think I have solved the Windows incompatibilities in the latest version of isolate-package. Could you try again and see if it works for you?
Assuming this is resolved
Issue Description
During the deployment of the
api
service using Firebase tools, the process fails with an error related topnpm
dependencies and an outdated lockfile. The error message indicates that thepnpm-lock.yaml
file is not up to date withpackages/common/package.json
, causing the deployment to fail.Steps to Reproduce
Checkout Main Branch:
main
branch of themono-ts
repository.Install Dependencies:
pnpm install
in the root directory.Navigate to API Service:
services/api
.Configure Firebase:
.firebaserc
.Upgrade GCP Project:
Enable Secret Manager API:
Deploy API Service:
deploy
task fromservices/api
without the--project demo-mono-ts
parameter.Deployment Log