Replies: 1 comment
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have setup Nx mono repo where the constructs was created as Nx library and CDK app was created as a node app in Nx.
The build (
nx build
ornpm build
) is fine butnx synth
ornpm synth
is failing with the below error.Error: Cannot find module '@reckon-infrastructure/cdk/constructs/static-website' Require stack: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/home/rameshr/devops/reckon-infrastructure/node_modules/.pnpm/@[email protected]/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30) at Function.Module._load (node:internal/modules/cjs/loader:804:27) at Module.require (node:internal/modules/cjs/loader:1028:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/rameshr/devops/reckon-infrastructure/apps/cdk/portal/src/stacks/app-stack.ts:1:1) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Module.m._compile (/home/rameshr/devops/reckon-infrastructure/node_modules/.pnpm/[email protected]_h5pluptzhd75xwwde3x3lf6i5e/node_modules/ts-node/src/index.ts:1618:23) at Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Object.require.extensions.<computed> [as .ts] (/home/rameshr/devops/reckon-infrastructure/node_modules/.pnpm/[email protected]_h5pluptzhd75xwwde3x3lf6i5e/node_modules/ts-node/src/index.ts:1621:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/rameshr/devops/reckon-infrastructure/apps/cdk/portal/src/stacks/app-stack.ts', '/home/rameshr/devops/reckon-infrastructure/apps/cdk/portal/src/main.ts' ] }
Any help or suggestions would be appreciated?
Beta Was this translation helpful? Give feedback.
All reactions