iisnode encountered an error when processing the request.

HRESULT: 0x6d
HTTP status: 500
HTTP subStatus: 1013
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stderr is shown below:

(node:3852) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
Error: Request failed with status code 400
    at createError (C:\EGS\ECOMMERCE\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\EGS\ECOMMERCE\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\EGS\ECOMMERCE\node_modules\axios\lib\adapters\http.js:260:11)
    at IncomingMessage.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  config: {
    url: '/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
    method: 'get',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'axios/0.21.1'
    },
    baseURL: 'https://api.egssistemas.com.br/EGSCTE',
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      secureConnecting: false,
      _SNICallback: null,
      servername: 'api.egssistemas.com.br',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 10,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'api.egssistemas.com.br',
      _readableState: [ReadableState],
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: [TLSWrap],
      _requestCert: true,
      _rejectUnauthorized: true,
      parser: null,
      _httpMessage: [Circular *1],
      [Symbol(res)]: [TLSWrap],
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 3727,
      [Symbol(kHandle)]: [TLSWrap],
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(connect-options)]: [Object],
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'GET /EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Host: api.egssistemas.com.br\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 443,
      protocol: 'https:',
      options: [Object: null prototype],
      requests: [Object: null prototype] {},
      sockets: [Object: null prototype],
      freeSockets: [Object: null prototype] {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 1,
      maxCachedSessions: 100,
      _sessionCache: [Object],
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [TLSSocket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      rawHeaders: [Array],
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 400,
      statusMessage: 'Bad Request',
      client: [TLSSocket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'https://api.egssistemas.com.br/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: [Object],
      [Symbol(kHeadersCount)]: 20,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'api.egssistemas.com.br',
    protocol: 'https:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'https://api.egssistemas.com.br/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'user-agent': [Array],
      host: [Array]
    }
  },
  response: {
    status: 400,
    statusText: 'Bad Request',
    headers: {
      'cache-control': 'no-cache',
      pragma: 'no-cache',
      'content-type': 'application/json; charset=utf-8',
      expires: '-1',
      server: 'Microsoft-IIS/10.0',
      'x-aspnet-version': '4.0.30319',
      'x-powered-by': 'ASP.NET',
      date: 'Wed, 20 Nov 2024 06:56:31 GMT',
      connection: 'close',
      'content-length': '93'
    },
    config: {
      url: '/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      method: 'get',
      headers: [Object],
      baseURL: 'https://api.egssistemas.com.br/EGSCTE',
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'GET /EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Host: api.egssistemas.com.br\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'api.egssistemas.com.br',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      Message: 'Codigo: 0 Referência de objeto não definida para uma instância de um objeto.'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
Error: Request failed with status code 400
    at createError (C:\EGS\ECOMMERCE\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\EGS\ECOMMERCE\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\EGS\ECOMMERCE\node_modules\axios\lib\adapters\http.js:260:11)
    at IncomingMessage.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  config: {
    url: '/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
    method: 'get',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'axios/0.21.1'
    },
    baseURL: 'https://api.egssistemas.com.br/EGSCTE',
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      secureConnecting: false,
      _SNICallback: null,
      servername: 'api.egssistemas.com.br',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 10,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'api.egssistemas.com.br',
      _readableState: [ReadableState],
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: [TLSWrap],
      _requestCert: true,
      _rejectUnauthorized: true,
      parser: null,
      _httpMessage: [Circular *1],
      [Symbol(res)]: [TLSWrap],
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 3779,
      [Symbol(kHandle)]: [TLSWrap],
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(connect-options)]: [Object],
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'GET /EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Host: api.egssistemas.com.br\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 443,
      protocol: 'https:',
      options: [Object: null prototype],
      requests: [Object: null prototype] {},
      sockets: [Object: null prototype],
      freeSockets: [Object: null prototype] {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 1,
      maxCachedSessions: 100,
      _sessionCache: [Object],
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [TLSSocket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      rawHeaders: [Array],
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 400,
      statusMessage: 'Bad Request',
      client: [TLSSocket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'https://api.egssistemas.com.br/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: [Object],
      [Symbol(kHeadersCount)]: 20,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'api.egssistemas.com.br',
    protocol: 'https:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'https://api.egssistemas.com.br/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'user-agent': [Array],
      host: [Array]
    }
  },
  response: {
    status: 400,
    statusText: 'Bad Request',
    headers: {
      'cache-control': 'no-cache',
      pragma: 'no-cache',
      'content-type': 'application/json; charset=utf-8',
      expires: '-1',
      server: 'Microsoft-IIS/10.0',
      'x-aspnet-version': '4.0.30319',
      'x-powered-by': 'ASP.NET',
      date: 'Wed, 20 Nov 2024 06:56:31 GMT',
      connection: 'close',
      'content-length': '93'
    },
    config: {
      url: '/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      method: 'get',
      headers: [Object],
      baseURL: 'https://api.egssistemas.com.br/EGSCTE',
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'GET /EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Host: api.egssistemas.com.br\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/EGSCTE/api/EcommerceProdutoApi/ObterSlugs?host=keep-alive',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'api.egssistemas.com.br',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      Message: 'Codigo: 0 Referência de objeto não definida para uma instância de um objeto.'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)
TypeError: Cannot read properties of undefined (reading 'theme')
    at MyApp (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_app.js:125:24)
    at d (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:33:498)
    at bb (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:36:16)
    at a.b.render (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:42:43)
    at a.b.read (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:41:83)
    at exports.renderToString (C:\EGS\ECOMMERCE\node_modules\react-dom\cjs\react-dom-server.node.production.min.js:52:138)
    at renderPage (C:\EGS\ECOMMERCE\node_modules\next\dist\server\render.js:626:31)
    at Object.ctx.renderPage (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:83:30)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\chunks\331.js:596:19)
    at Function.getInitialProps (C:\EGS\ECOMMERCE\dist\apps\ecommerce\.next\server\pages\_document.js:87:85)