ModuleBuildError with NPM in phoenix-liveview app

This is the solution that fixed the issue.
Thanks !

If I may ask, why did you advised this course of action?