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

Staring from aws-amplify@6.6.1 getting UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins #13817

Closed
3 tasks done
mixalbl4-127 opened this issue Sep 17, 2024 · 5 comments
Assignees
Labels
bug Something isn't working Build Related to build issues duplicate If marked with duplicate, issue will be closed & original will be added for traceability

Comments

@mixalbl4-127
Copy link

Before opening, please confirm:

JavaScript Framework

React

Amplify APIs

Authentication

Amplify Version

v6

Amplify Categories

auth

Backend

None

Environment information

any env

Describe the bug

Staring from aws-amplify@6.6.1 getting UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins
downgrade to aws-amplify@6.6.0 helps

Expected behavior

Success build using webpack

Reproduction steps

  1. Create project with Create React App (CRA)
  2. Install aws-amplify@6.6.1
  3. Try to build it

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending a response from the Amplify team. labels Sep 17, 2024
@cwomack
Copy link
Member

cwomack commented Sep 17, 2024

Related to #13819

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Sep 17, 2024
@cwomack cwomack added bug Something isn't working Build Related to build issues pending-maintainer-response Issue is pending a response from the Amplify team. and removed pending-triage Issue is pending triage labels Sep 17, 2024
@cwomack cwomack self-assigned this Sep 17, 2024
@cwomack cwomack removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Sep 17, 2024
@cwomack
Copy link
Member

cwomack commented Sep 17, 2024

Hello, @mixalbl4-127 and thank you for creating this issue. We're looking into this and will comment back with any updates or progress made.

@cwomack cwomack added the duplicate If marked with duplicate, issue will be closed & original will be added for traceability label Sep 17, 2024
@cwomack
Copy link
Member

cwomack commented Sep 17, 2024

@mixalbl4-127, closing this issue to consolidate it into #13819. You can follow that issue for updates on a fix, but in the mean time please use v6.6.0 until that is released.

@HuiSF
Copy link
Member

HuiSF commented Sep 17, 2024

Hi @mixalbl4-127 Could you report which Webpack version that your React app is using? You can find the version by executing npm list webpack at the root of your React app. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Build Related to build issues duplicate If marked with duplicate, issue will be closed & original will be added for traceability
Projects
None yet
Development

No branches or pull requests

3 participants