vue-windicss-preprocess icon indicating copy to clipboard operation
vue-windicss-preprocess copied to clipboard

Error: Nuxt is stuck at the generated time

Open sondh0127 opened this issue 4 years ago • 6 comments

I'm following the migration guide to convert from nuxt-tailwind to windi But dev server stuck to generate these files.

image

Here is the "reproduce repo": https://github.com/sondh0127/nuxt21-windi

The problem is with third party libs: (e.g. vue-scroll component). https://github.com/sondh0127/nuxt21-windi/blob/fc448ece95cacf8ce6e759b3215834c4ac00489d/pages/index.vue#L25

  • When I commented out vue-scroll, the process is still stuck. image

  • If I remove the vue-scroll component, the generated process will be finished. image

sondh0127 avatar Feb 17 '21 09:02 sondh0127

It is stuck for me as well. Also I noticed in the task manager that the corresponding node process keeps the processor busy; A don't have vue-scroll installed. ( [email protected] )

desislavsd avatar Feb 18 '21 14:02 desislavsd

~~Fixed in 2.1.0~~

hannoeru avatar Feb 25 '21 09:02 hannoeru

I have a large project with many third party dependencies and this problem is still present in 2.1.0

schneefux avatar Feb 26 '21 21:02 schneefux

I have a very large nuxt project too and i've followed guides for nuxt and the build is stuck here (it seems random) image

victorgarciaesgi avatar Mar 01 '21 11:03 victorgarciaesgi

I'm facing a similar and believe it to be caused by using <style> tags on pages/components/layouts (in nuxt). Removing these tags allows the build to progress.

@sondh0127 @schneefux @victorgarciaesgi are you able to confirm whether you have .vue files with <style> tags and whether removing them resolves the issue?

adam-nygate avatar Mar 11 '21 14:03 adam-nygate

@adam-nygate Yes I have <style> on my layout components, i will try to remove it! I will also try the module nuxt-windicss

victorgarciaesgi avatar Mar 11 '21 15:03 victorgarciaesgi