#Having problems with the deployment of next 14 website on cpanel. I'm facing the error message 503.

6 messages · Page 1 of 1 (latest)

hollow kindle
#

The problem has been updated. My host has conveyed the problem. Apparently 'stream/web' is missing. Does anyone know how to fix this? My domain is on namecheap and my host is namecheap(cpanel).

hybrid fiberBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

hollow vapor
#

You are gonna need to provide more info. Where are you hosting? Also you need to check some logs cause that might have a clue

hollow kindle
#

My domain is namecheap and the host cpanel. I've spoken to my host and he said that he received the following error code: (node:21632) UnhandledPromiseRejectionWarning: Error: Cannot find module 'stream/web'

#

The full error code would look like this: (node:21632) UnhandledPromiseRejectionWarning: Error: Cannot find module 'stream/web'

Require stack:

  • /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js

  • /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/compiled/@edge-runtime/primitives/index.js

  • /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js

  • /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/telemetry/storage.js

  • /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/server/lib/router-server.js

  • /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/server/lib/start-server.js

  • /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/server/next.js

  • /home/hofwjtyo/english/server.js

  • /usr/local/lsws/fcgi-bin/lsnode.js

at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)

at /home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/server/require-hook.js:55:36

at Function.Module._load (internal/modules/cjs/loader.js:746:27)

at Module.require (internal/modules/cjs/loader.js:974:19)

at Module.mod.require (/home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/server/require-hook.js:65:28)

at require (internal/modules/cjs/helpers.js:101:18)

at Object. (/home/hofwjtyo/nodevenv/english/14/lib/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js:39:18)

at Module._compile (internal/modules/cjs/loader.js:1085:14)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)

at Module.load (internal/modules/cjs/loader.js:950:32)

(Use node --trace-warnings ... to show where the warning was created)

hollow kindle
#

The issue was due namecheap(cpanel) not being able to render next.js before choosing a host look up it's abilites, especially when working with newer programms such as nextjs. I have now uploaded my website onto vercel without having changed any of the code.