wodkaW
Convex Community5mo ago
3 replies
wodka

I wanted to use the mjml package to convert mjml to html inside an action (use node)

400 Bad Request: InvalidModules: Hit an error while pushing:
Loading the pushed modules encountered the following
error:
Uncaught Failed to analyze _deps/node/XFDVFWVQ.js: Cannot find module '../lib/utils.js'
Require stack:
- /tmp/source/16f94bae-1bb4-4903-9bf3-9144d234af50/modules/_deps/node/2QUL6X5D.js
at <anonymous> (../../../node_modules/.pnpm/uglify-js@3.19.3/node_modules/uglify-js/tools/node.js:4:12)
at <anonymous> (convex:/user/_deps/node/V7X2J7BI.js:13:31)
at <anonymous> (../../../node_modules/.pnpm/html-minifier@4.0.0/node_modules/html-minifier/src/htmlminifier.js:10:29)
at <anonymous> (convex:/user/_deps/node/V7X2J7BI.js:13:31)
at <anonymous> (../../../node_modules/.pnpm/mjml-core@4.15.3/node_modules/mjml-core/lib/index.js:102:49)
at <anonymous> (convex:/user/_deps/node/V7X2J7BI.js:13:31)
at <anonymous> (../../../node_modules/.pnpm/mjml-core@4.15.3/node_modules/mjml-core/lib/index.js:430:71

any idea on how to solve this?
Was this page helpful?