Issue Summary: Problems encountered when setting up Plasmic monorepo
Environment:
• OS: Ubuntu (Linux)
• Node versions installed: Node 20 (default), Node 23 (previously present, removed)
• Yarn version: 1.22.21
• Using nvm for node management
• Clean install from the Plasmic monorepo (aihe-plasmic)
1. Yarn workspace issues with missing type definitions
Errors:
TS2688: Cannot find type definition file for 'babel__parser'
TS2688: Cannot find type definition file for 'hapi__shot'
Attempts to fix:
• Tried yarn add -D @types/babel__parser @types/hapi__shot, but ran into workspace root error
Status: Unresolved
Unsure which packages need these types or why they’re being pulled in at all.
2. Build failures across multiple packages
When running yarn bootstrap, yarn setup, or yarn setup-all, encountered widespread TypeScript build failures in:
• @plasmicapp/data-sources-context
• @plasmicapp/loader-fetcher
• @plasmicapp/query
• @plasmicapp/watcher
• @plasmicapp/auth-api
• @plasmicapp/cli
Each failed due to the missing type definitions mentioned above.
3. Typescript crash in platform/sub
Error: Debug Failure. False expression.
at resolveNamesWithLocalCache
...
UnhandledPromiseRejection: This error originated...
Root cause (likely):
• Incompatible or missing tsconfig.json options (e.g., no “baseUrl” or “paths”).
• awesome-typescript-loader failing due to inconsistent state between TS versions and module resolution logic.
Status: Unresolved
Could not successfully run the build step in platform/sub.