<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z00007LnFhCCAVOkta Classic EngineSingle Sign-OnAnswered2022-01-18T16:31:27.000Z2021-12-28T18:19:28.000Z2021-12-29T15:26:54.000Z

DavidB.32401 (Customer) asked a question.

Vue 3 with Vite won't render app

When trying to run a Vue 3 app with Vite instead of webpack and vue-cli (vue-cli is being deprecated in favor of vite) the app won't render. Error logged to the console is:

Uncaught TypeError: Class extends value undefined is not a constructor or null

   at Object.<anonymous> (node_cache.js:22)

   at Object.<anonymous> (node_cache.js:800)

   at node_modules/node-cache/lib/node_cache.js (node_cache.js:802)

   at __require (chunk-7ZYZ65ZP.js?v=8da8d271:26)

   at Object.<anonymous> (index.js:13)

   at node_modules/node-cache/index.js (index.js:17)

   at __require (chunk-7ZYZ65ZP.js?v=8da8d271:26)

   at serverStorage.ts:16

Minimal repo here: https://github.com/dcb99/vite-okta


This question is closed.
Loading
Vue 3 with Vite won't render app
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply