skip to Main Content

I am working on a full stack app with Next.js, Tailwind css and Amplify Gen2. I created an amplify function and am trying to sync my changes with my backend sandbox in AWS but I keep getting a

Failed to bundle asset error

Can someone please help me out?

enter image description here

enter image description here

I tried deleting my sandbox from AWS amplify but that didn’t work.

2

Answers


  1. I also met your issue. My suggestion is to use –debug when ran the command "npx ampx –debug sandbox". Normally, I missed the library. Therefore, please check all of the errors in debug then rerun again.

    Hope it can help you

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search