product · inferred from evidence
ERESOLVE
An npm error code indicating a peer dependency conflict.
- TSError: Unable to compile TypeScript, TS2307 Cannot find module 'path' deploying the bedrock-agent-cdk sample
Teaches the verified fix from a real amazon-bedrock support thread: tSError: Unable to compile TypeScript, TS2307 Cannot find module 'path' deploying the bedrock-agent-cdk sample
- TSError: Unable to compile TypeScript, TS2307 Cannot find module 'path' deploying the bedrock-agent-cdk sample
cdk bootstrap fails to compile the amazon-bedrock-samples bedrock-agent-cdk example because of a peer dependency conflict. Run npm install from the sample root first, with --force if ERESOLVE blocks it.