hairyf / vue3-pixi

Lightweight and flexible Vue 3 library for creating PixiJS applications.
https://vue3-pixi.vercel.app/
MIT License
226 stars 23 forks source link

Error while installing vue3-pixi-nuxt #102

Closed marcelbusch closed 5 months ago

marcelbusch commented 9 months ago

Hi there, I just tried installing the nuxt package but got an error while installing:

npm ERR! code 1
npm ERR! path /app/vue/node_modules/vue3-pixi-nuxt
npm ERR! command failed
npm ERR! command sh -c npm run dev:prepare
npm ERR! > vue3-pixi-nuxt@0.9.0 dev:prepare
npm ERR! > nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground
npm ERR! 
npm ERR! ℹ Stubbing vue3-pixi-nuxt
npm ERR! ℹ Cleaning dist directory: ./dist
npm ERR! ERROR  ENOENT: no such file or directory, open '/app/vue/node_modules/vue3-pixi-nuxt/src/module'

This also happens on a fresh project, tested on nuxt@3.8.2 vue@3.3.9 and nuxt@3.10.1 vue@3.4.15. Same thing with yarn, slightly different error:

error /app/vue/node_modules/vue3-pixi-nuxt: Command failed.
Exit code: 127
Command: npm run dev:prepare
Arguments: 
Directory: /app/vue/node_modules/vue3-pixi-nuxt
Output:
> vue3-pixi-nuxt@0.9.0 dev:prepare
hairyf commented 5 months ago

fixed