ESBuild (and Yarn ?) not allowing import of Phoenix and LiveView suite in the app.js file

I’ve figured out what was happening and how to fix it: ESBuild not allowing import of Phoenix and LiveView suite in the app.js file · Issue #5491 · phoenixframework/phoenix · GitHub

3 Likes

This saved me ton of time today!

I removed ~/.pnp.cjs and it works!!

Sorry for the late reply.

It was actually linked to Yarn as you suspected from the beginning.

Thanks for your feedback. I have added a comment on Github and closed the ticket.