Next.js apps don't work on volume license Word add in/IE11

kueno 1 Reputation point
2022-08-30T13:39:00.953+00:00

Next.js apps doesn't work on volume license version of Microsoft Word.

IE11 is built-in, and when I run my Next.js app on it, it gets the following error.

   Error: 未定義のエラーです。(Undefined error.)  
      {  
         [functions]: ,  
         __proto__: { },  
         description: "未定義のエラーです。(Undefined error.)",  
         message: "未定義のエラーです。(Undefined error.)",  
         name: "Error",  
         number: -2147467259,  
         stack: "Error: 未定義のエラーです。(Undefined error.)  
      at value (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:51576)  
      at e (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:46612)  
      at a (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:1502)  
      at a (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:1347)  
      at t.createRouter (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:29243)  
      at Anonymous function (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:14052)  
      at l (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:71920)  
      at Anonymous function (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:71729)  
      at Anonymous function (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js:1:72364)  
      at k (https://**********/_next/static/chunks/main-ea5363f7b1817a1ef87a.js",  
         Symbol()_g.k4lzz4di5i0: undefined,  
         Symbol(ASSET_LOAD_ERROR)_15.k4lzz4di55: undefined,  
         Symbol(mui.nested)_1d.k4lzz4di55: undefined,  
         Symbol(nodejs.util.inspect.custom)_18.k4lzz4di55: undefined,  
         Symbol(react.async_mode)_19.k4lzz4di55: undefined,  
         Symbol(react.block)_z.k4lzz4di551: undefined,  
         Symbol(react.concurrent_mode)_1a.k4lzz4di55: undefined,  
         Symbol(react.context)_t.k4lzz4di5i0: undefined,  
         Symbol(react.debug_trace_mode)_12.k4lzz4di55: undefined,  
         Symbol(react.element)_n.k4lzz4di5i0: undefined,  
         Symbol(react.forward_ref)_u.k4lzz4di5i0: undefined,  
         Symbol(react.fragment)_p.k4lzz4di5i0: undefined,  
         Symbol(react.fundamental)_1b.k4lzz4di55: undefined,  
         Symbol(react.lazy)_x.k4lzz4di551: undefined,  
         Symbol(react.legacy_hidden)_14.k4lzz4di55: undefined,  
         Symbol(react.memo)_w.k4lzz4di551: undefined,  
         Symbol(react.offscreen)_13.k4lzz4di55: undefined,  
         Symbol(react.opaque.id)_11.k4lzz4di55: undefined,  
         Symbol(react.portal)_o.k4lzz4di5i0: undefined,  
         Symbol(react.profiler)_r.k4lzz4di5i0: undefined,  
         Symbol(react.provider)_s.k4lzz4di5i0: undefined,  
         Symbol(react.responder)_1c.k4lzz4di55: undefined,  
         Symbol(react.scope)_10.k4lzz4di55: undefined,  
         Symbol(react.server.block)_1e.k4lzz4di55: undefined,  
         Symbol(react.strict_mode)_q.k4lzz4di5i0: undefined,  
         Symbol(react.suspense)_v.k4lzz4di5i0: undefined,  
         Symbol(react.suspense_list)_y.k4lzz4di551: undefined,  
         Symbol(SSG_DATA_NOT_FOUND)_16.k4lzz4di55: undefined,  
         Symbol(x)_17.k4lzz4di55: undefined  
      }  

Even a most minimal Next.js app doesn't work on the Word.

   npx create-next-app@latest # app name: test  
   cd test  
   npm run build  
   npm run start  

It gives the same undefined error. But the both apps work on the IE11 browser.

What should I do with my Next.js apps to run on volume license Microsoft Word.

Word version:
Word 2019 Version 1808 (Build: 10389.20033)

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,517 questions
0 comments No comments
{count} votes