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
[ec2-user@ip-10-x-x-x reactshoppe-api]$ npx lerna bootstrap
lerna notice cli v3.22.1
lerna info Bootstrapping 4 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna success Bootstrapped 4 packages
[ec2-user@ip-10-x-x-x reactshoppe-api]$ npx cdk deploy
Error: Cannot find module '/home/ec2-user/samples/reactshoppe-api/packages/stack/node_modules/reactshoppe-database/reactshoppe-database.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:402:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:644:18)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1012:27)
at Function.Module._load (node:internal/modules/cjs/loader:872:27)
at Module.require (node:internal/modules/cjs/loader:1092:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/home/ec2-user/samples/reactshoppe-api/packages/stack/reactshoppe-api-stack.ts:2:1)
at Module._compile (node:internal/modules/cjs/loader:1205:14)
at Module.m._compile (/home/ec2-user/samples/reactshoppe-api/node_modules/ts-node/src/index.ts:858:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1259:10)
Subprocess exited with error 1
Hello
I read the blog, thank you.
I dont understand the entrypoint lambda thingy.
How is that scalable when he number of APIs/lambdas to call increases. Its an if statement after all.
kindly explain.
The text was updated successfully, but these errors were encountered: