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

Fix error related to importing Buffer with Angular #23216

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

hide212131
Copy link
Contributor

Fixes #22924


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (below reviewers) and adding skip-ci label, you can still see CI build result at your branch.

@github-actions github-actions bot added theme: angular theme: jhipster-internals theme: dependencies Pull requests that update a dependency file labels Aug 19, 2023
@mraible mraible merged commit a378390 into jhipster:main Aug 19, 2023
47 checks passed
@hide212131 hide212131 deleted the fix-error-import-buffer branch August 19, 2023 08:43
deepu105 pushed a commit to dinu0000/generator-jhipster that referenced this pull request Aug 20, 2023
@vudangngoc
Copy link

How to fix generated code? I tried to add "buffer": "6.0.3" to the file package.json but still cannot build (Sorry, I'm a Java dev)

@peeyushgoela
Copy link

How to fix generated code? I tried to add "buffer": "6.0.3" to the file package.json but still cannot build (Sorry, I'm a Java dev)

  • add "buffer": "6.0.3" to devDependencies in package.json
  • change tsconfig.json "lib" to use "es2020"

@deepu105 deepu105 added this to the 8.0.0-beta.3 milestone Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error running mvnw import { Buffer } from 'buffer';
5 participants