mrnasil / nuxt-rive

Rive Module for Nuxt Framework
https://nuxt-rive.vercel.app
7 stars 0 forks source link

Error After Installing nuxt-rive: Missing Export for 'Rive' and 'EventType' #2

Open norbertSG opened 3 months ago

norbertSG commented 3 months ago

Nuxt 3 version 3.10.1 I run the `npm run --save-dev nuxt-rive'

nuxt.js?v=dcc59c25:98 [nuxt] error caught during app initialization SyntaxError: The requested module '/_nuxt/node_modules/@rive-app/webgl/rive.js?v=dcc59c25' does not provide an export named 'Rive' (at index.mjs?v=dcc59c25:79:15)Caused by: SyntaxError: The requested module '/_nuxt/node_modules/@rive-app/webgl/rive.js?v=dcc59c25' does not provide an export named 'Rive' (at NuxtRive.client.vue:15:10)

mrnasil commented 3 months ago

You’re right. I’m aware of the mistake. I’ll release an update at the earliest opportunity. I’m not satisfied with the structure. My apologies.

norbertSG commented 3 months ago

But, how is working here https://stackblitz.com/~/github.com/mrnasil/nuxt-rive?file=package.json:L38 ?

norbertSG commented 3 months ago

@mrnasil Do you an eta for the fix ?