Replies: 2 comments
-
Hey @dion-yosh! 👋🏻 It seems that cPanel is modifying your application environment, possibly by registering a CommonJS Node loader. This kind of setup can break if not properly configured. Since I don’t personally use cPanel, I’m afraid I can’t provide much more guidance on this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your feedback! I'm planning to host on Google Cloud Platform
and hope everything goes smoothly. If you have any recommendations, I'd
greatly appreciate them.
…On Mon, Mar 3, 2025 at 11:55 AM Romain Lanz ***@***.***> wrote:
Hey @dion-yosh <https://github.com/dion-yosh>! 👋🏻
It seems that cPanel is modifying your application environment, possibly
by registering a CommonJS Node loader. This kind of setup can break if not
properly configured.
Since I don’t personally use cPanel, I’m afraid I can’t provide much more
guidance on this.
—
Reply to this email directly, view it on GitHub
<#4884 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBYTGONGWVUTCU7MAVFHK4T2SQKGLAVCNFSM6AAAAABYBVBJRSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZXGI3TIMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I built my AdonisJs website and I am trying to host it on cPanel but I get this problem, I can't figure this out. can somebody help me out 'node:internal/modules/esm/module_job:392
throw new ERR_REQUIRE_ASYNC_MODULE();
^
Error [ERR_REQUIRE_ASYNC_MODULE]: require() cannot be used on an ESM graph with top-level await. Use import() instead. To see where the top-level await comes from, use --experimental-print-required-tla.
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:392:13)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1411:24)
at Module._compile (node:internal/modules/cjs/loader:1544:5)
at Module._extensions..js (node:internal/modules/cjs/loader:1668:16)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Module._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1335:12) {
code: 'ERR_REQUIRE_ASYNC_MODULE'
}
Node.js v22.13.1', Thanks
Beta Was this translation helpful? Give feedback.
All reactions