We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Troubleshooting esbuild Issues with Node.js Package in Phoenix Framework
178
clicks
Source: reddit.com
The author, WoT_Abridged, faced challenges when incorporating the TipTap package, a text editor, into a Phoenix Framework project. Despite following instructions intended for Vanilla JavaScript environments, local functionality was validated; problems, however, emerged during deployment via `fly deploy` resulting in build errors. The author meticulously verified the package installation, esbuild configurations, and proper import statements in `app.js`. Nevertheless, the deployment process failed, presumably due to path misconfiguration related to the `node_modules` directory. Attempts to rectify the issue through relative paths and marking the path as external according to esbuild's suggestions were unsuccessful. WoT_Abridged is considering another attempt at marking TipTap as external but is concerned about potential ramifications.
Related posts
© HashMerge 2024