vite icon indicating copy to clipboard operation
vite copied to clipboard

__createCJSModule__(...) is not a function

Open amery opened this issue 2 years ago • 4 comments

Versions

nuxt-vite: 0.3.5 nuxt: 2.15.8 vuetify: 2.6.0

Reproduction

yarn dev at https://github.com/amery/nuxt-bridge-vuetify and open http://127.0.0.1:3000/

Description

this is basically the standard ssr nuxt2+vuetify2 template, but as soon as I enable nuxt-vite dev mode crashes. nuxt generate and nuxt build work ok.

don't be confused by the repo's name. master hasn't switched to nuxt-bridge yet.

TypeError
__createCJSModule__(...) is not a function

server.js:19800:1 $id_2a824d09
server.js:66218:9 __instantiateModule__
server.js:66153:25 __ssrLoadModule__
server.js:66190:13 ssrImport
server.js:19767:37 $id_d579fa64
server.js:66218:3 async __instantiateModule__

amery avatar Nov 22 '21 23:11 amery