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

Recent update in jsii-pacmak breaking the v1 & v2 builds #526

Closed
hnishar opened this issue Dec 14, 2021 · 0 comments · Fixed by #527
Closed

Recent update in jsii-pacmak breaking the v1 & v2 builds #526

hnishar opened this issue Dec 14, 2021 · 0 comments · Fixed by #527
Labels
bug Something isn't working

Comments

@hnishar
Copy link
Contributor

hnishar commented Dec 14, 2021

With this recent update in JSII, it is breaking v1 build with following error:

@aws-solutions-constructs/core: [jsii-pacmak] [WARN] Exception occurred, not cleaning up 
@aws-solutions-constructs/core: [jsii-pacmak] [WARN] java failed
@aws-solutions-constructs/core: Error: Cannot find module '@types/deep-diff'
@aws-solutions-constructs/core: Require stack:
@aws-solutions-constructs/core: - /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/util.js
@aws-solutions-constructs/core: - /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/packaging.js
@aws-solutions-constructs/core: - /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/npm-modules.js
@aws-solutions-constructs/core: - /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/index.js
@aws-solutions-constructs/core: - /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/bin/jsii-pacmak.js
@aws-solutions-constructs/core: - /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/bin/jsii-pacmak
@aws-solutions-constructs/core:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
@aws-solutions-constructs/core:     at Function.resolve (internal/modules/cjs/helpers.js:99:19)
@aws-solutions-constructs/core:     at Object.findDependencyDirectory (/codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/util.js:18:32)
@aws-solutions-constructs/core:     at /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/dependency-graph.js:46:42
@aws-solutions-constructs/core:     at Array.map (<anonymous>)
@aws-solutions-constructs/core:     at real$traverseDependencyGraph (/codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/dependency-graph.js:45:10)
@aws-solutions-constructs/core:     at async Object.findLocalBuildDirs (/codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/target.js:76:5)
@aws-solutions-constructs/core:     at async /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/targets/java.js:171:29
@aws-solutions-constructs/core:     at async JavaBuilder.generateMavenSettingsForLocalDeps (/codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/targets/java.js:173:51)
@aws-solutions-constructs/core:     at async /codebuild/output/src244408438/src/source/node_modules/jsii-pacmak/lib/targets/java.js:103:13
@aws-solutions-constructs/core: error Command failed with exit code 1.
@aws-solutions-constructs/core: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run jsii-pacmak exited 1 in '@aws-solutions-constructs/core'

Reproduction Steps

Run jsii-packmak for @aws-solutions-constructs/core

Environment

  • CDK CLI Version :1.129.0
  • CDK Framework Version: 1.129.0
  • AWS Solutions Constructs Version : 1.129.0
  • OS : Linux
  • Language : N/A

This is 🐛 Bug Report

@hnishar hnishar added the bug Something isn't working label Dec 14, 2021
@hnishar hnishar linked a pull request Dec 14, 2021 that will close this issue
@hnishar hnishar changed the title Recent update in jsii-pacmak breaking the v1 build Recent update in jsii-pacmak breaking the v1 & v2 builds Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant