Saeris / vue-spinners

💫 A collection of loading spinner components for Vuejs
https://vue-spinners.saeris.io/
MIT License
318 stars 16 forks source link

Installation gets stuck #2

Closed dcrystalj closed 6 years ago

dcrystalj commented 6 years ago

Hi. I have run yarn add @saeris/vue-spinners on my osx, but then installation gets stuck.

[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > @saeris/vue-spinners@1.0.7" has unmet peer dependency "emotion@9.2.6".
warning " > @saeris/vue-spinners@1.0.7" has unmet peer dependency "vue-emotion@0.4.2".
[4/4] 📃  Building fresh packages...
[1/1] ⠂ @saeris/vue-spinners .  <- stuck here
dcrystalj commented 6 years ago

managed to resolve issue by closing VScode.

Saeris commented 6 years ago

Just published a fix for this. The problem is due to a postinstall script in package.json that was handling installing the example app's dependencies, which causes an infinite loop in yarn by building fresh packages. The example app requires the package from NPM rather than via a relative import to src, in order for it to work inside CodeSandbox. This should no longer be the case, as you'll have to manually install the example app if you want to run it locally.

Let me know if you still have problems with 1.0.8. I can only confirm that it's working in my local Windows environment and in Travis/Netlify.