اذهب إلى المحتوى

السؤال

نشر
(node:4018539) UnhandledPromiseRejectionWarning: ReferenceError: Request is not defined
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/request.js:28:27)
    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)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at Module.mod.require (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js:37:18)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4018539) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:4018539) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:4018696) UnhandledPromiseRejectionWarning: ReferenceError: Request is not defined
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/request.js:28:27)
    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)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at Module.mod.require (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js:37:18)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4018696) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:4018696) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:4020945) UnhandledPromiseRejectionWarning: ReferenceError: Request is not defined
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/request.js:28:27)
    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)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at Module.mod.require (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js:37:18)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4020945) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:4020945) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:4021038) UnhandledPromiseRejectionWarning: ReferenceError: Request is not defined
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/request.js:28:27)
    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)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at Module.mod.require (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/home/virtcoda/nodevenv/fuel/14/lib/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js:37:18)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4021038) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:4021038) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

ما المشكله

Recommended Posts

  • 0
نشر

عليك استخدام Node.js الإصدار 18 على الاستضافة وليس 16 وذلك من خلال إعدادات المشروع في حال كنت تنشر مشروعك على vercel.

download.thumb.jpg.a1daa37d60d85fb401243bf8906011a9.jpg

  • 0
نشر
بتاريخ 27 دقائق مضت قال Mustafa Suleiman:

عليك استخدام Node.js الإصدار 18 على الاستضافة وليس 16 وذلك من خلال إعدادات المشروع في حال كنت تنشر مشروعك على vercel.

download.thumb.jpg.a1daa37d60d85fb401243bf8906011a9.jpg

namechepe

 

  • 0
نشر

تحتاج إذن إلى تعديل إصدار Node.js من خلال التوجه إلى cPanel >> Setup Node.js App

nodejs1.thumb.png.cd5e9280b7ad695db23dbbb3a07c34b1.png

في حال لا يوجد تطبيق Node.js عليك إنشائه من أجل مشروعك وتحديد إصدار node.js

creating-nodejs-application.thumb.jpg.6516f16643e3b835d4a181840963c957.jpg

namecheap-nodejs-configuration.thumb.jpg.389e7cb35beb8635bce9867eba081ca9.jpg

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...