Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module #28

Open
twocoins-ca opened this issue Nov 8, 2022 · 0 comments
Open

Cannot find module #28

twocoins-ca opened this issue Nov 8, 2022 · 0 comments

Comments

@twocoins-ca
Copy link

1156 git clone https://github.com/patrick-fs/reactshoppe-api.git
1158 cd reactshoppe-api/
1160 npx lerna bootstrap
1164 npx npm install
1165 npx cdk synth

Any tip for fixing this. Thanks in advance.

Error: Cannot find module '/home/ec2-user/samples/lerna/workspaces/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:363:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:576:18)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:27)
at Function.Module._load (node:internal/modules/cjs/loader:803:27)
at Module.require (node:internal/modules/cjs/loader:1021:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/home/ec2-user/samples/lerna/workspaces/reactshoppe-api/packages/stack/reactshoppe-api-stack.ts:2:1)
at Module._compile (node:internal/modules/cjs/loader:1119:14)
at Module.m._compile (/home/ec2-user/samples/lerna/workspaces/reactshoppe-api/node_modules/ts-node/src/index.ts:858:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
Subprocess exited with error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant