Closed ProfessorPinguino closed 8 months ago
Hi @ProfessorPinguino, I see Yarn Plug'n'Play mentioned in the error message. We currently do not support Yarn PnP installations. You'll need to use yarn with node_modules instead.
Hi @edwardfoyle , thanks for the quick response. The result is the same, no matter if I use yarn or npm.
I figured it out: If anybody else has that same problem: Yarn creates a .pnp.cjs file when using Yarn Plug'n'Play in general And i don't know if its a bug with yarn or smth wrongly configured with my machine but even when using yarn with node_modules or npm in a specific problem it's not working.
@ProfessorPinguino Thanks, I found the issue was the .pnp.cjs file as well. It was in my home directory. I deleted the file, ran amplify again and it worked
Environment information
Description
I implemented authentication with NextJS 14 and AWS amplify Gen 2 as specified in the tutorial (https://docs.amplify.aws/gen2/build-a-backend/auth/add-social-provider/). However, the sandbox immediately throws an error. I created the secrets.
This is the error thrown by the sandbox