Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docus currently broken #681

Closed
justindasilva opened this issue Nov 18, 2022 · 24 comments
Closed

Docus currently broken #681

justindasilva opened this issue Nov 18, 2022 · 24 comments

Comments

@justindasilva
Copy link

I just tried creating a fresh Docus project using the command on the website:

npx nuxi init docs -t themes/docus

It seems when I yarn dev, the localhost will just hang and nothing will show up.

I've always wondered about Nuxt, is there a way to run yarn dev --verbose or yarn dev -vvv to see a bit more about what might be going wrong?

@zoey-kaiser
Copy link

I have the same issue as well. I used to only struggle with #680, but after a day of programming (lots of hot reloads, restarts etc.) Docus, even with a brand new scaffold is failing to start.

I have waited 10+ minutes for it to load and nothing happens. I do not get an error thrown. Therefore the only logs I have are:

Nuxi 3.0.0 
Nuxt 3.0.0 with Nitro 1.0.0 
✔ Using Nuxt Typography v0.0.13 

  > Local:    http://localhost:3000/ 
  > Network:  http://192.168.0.232:3000/
  > Network:  http://[2a02:1810:cc2e:a300:187d:17d2:d8f8:4249]:3000/
  > Network:  http://[2a02:1810:cc2e:a300:6194:fbdc:35e7:cd5f]:3000/

ℹ Vite client warmed up in 78064ms 
✔ Nitro built in 1191 ms

78 seconds already seems pretty long for vite to load (sometimes it is even longer).

Environment:

- Operating System: `Darwin`
- Node Version:     `v16.17.0`
- Nuxt Version:     `3.0.0`
- Nitro Version:    `1.0.0`
- Package Manager:  `yarn@1.22.11`
- Builder:          `vite`
- User Config:      `extends`
- Runtime Modules:  `-`
- Build Modules:    `-`

I am also using a M1 mac (IDK if that changes anything, but I have had it that it would react differently).

Other Nuxt3 projects are still running fine for me. Is there anything that might be specific to our machines that prevent vite from rendering docus properly? If you need any other information about my hardware or setup, I would be happy to provide it! Maybe there is something we should reinstall that might be broken internally on my setup?

Thank you to any help in advance!

@sfxcode
Copy link

sfxcode commented Nov 19, 2022

Same Problem for me on an Intel Mac i9 on 12.6.1 Monterey. Vite warmup takes minutes ... nothing happens in browser.

@bdrtsky
Copy link
Contributor

bdrtsky commented Nov 19, 2022

Probably related #672

@geyermichael
Copy link

The same problem occurred for me when I run npx nuxi@latest init docs -t themes/docus install packages and run npm run dev.

It works, but it took about 5 minutes until I could see the application under localhost:3000.

@bennyzen
Copy link

bennyzen commented Nov 20, 2022

Yes, it's currently broken. Even if I try the provided StackBlitz example here, I'll have to wait minutes until its first draw (if it works at all). And no, it's not an arch dependent issue, as I'm running Linux on a regular x86_64.

image

Unfortunately, it's unusable in its current state. Tried to fix it, as I really need it, but I'm still unsure what exactly is going wrong here.

@KyleRicardo
Copy link

Idk if it's broken. But I followed the official "Getting Started" guide and I got this error prompt. I'm new to nuxt and this is a blow to my confidence in nuxt. I'm on Windows with latest node.js npm and pnpm.
image

@ipatate
Copy link

ipatate commented Nov 21, 2022

Same, very slow on start for local dev and build. The deploy on Netlify take 13mn 😵 ! https://presswind-doc.wp-performance.com/

Screenshot 2022-11-21 at 09 32 57

@Tahul
Copy link
Contributor

Tahul commented Nov 21, 2022

Hello here,

Thank you all for reporting this issue.

I will try to solve it by today, this is extreme priority.

@zoey-kaiser
Copy link

Idk if it's broken. But I followed the official "Getting Started" guide and I got this error prompt. I'm new to nuxt and this is a blow to my confidence in nuxt. I'm on Windows with latest node.js npm and pnpm.

This issue reminds me a lot of an issue we had in our module nuxt-session. AFAIK Windows parses URL structures differently then mac and linux. This can lead to issues like the one you showed above.

Here is our issue and PR where we fixed these issues for nuxt-session:

sidebase/nuxt-session#12
sidebase/nuxt-session#13

@MrSociety404
Copy link

Hello here,

Thank you all for reporting this issue.

I will try to solve it by today, this is extreme priority.

If it can help, this issue was fixed recently in nuxt/i18n for nuxt3 just here nuxt-modules/i18n#1518

@KyleRicardo
Copy link

AFAIK Windows parses URL structures differently then mac and linux. This can lead to issues like the one you showed above.

Never came across a framework that cannot be used out-of-the-box. Vue ecosystem frameworks are usually very easy to get started smoothly. This frustrating error even let me ignore the pretty long vite warming up time. I'm a little speechless. Did official even run npm run dev on Windows before release?

@Tahul
Copy link
Contributor

Tahul commented Nov 21, 2022

Hey :)

I just published 0.3.2, could you try this version and keep me up to date if it solves your issue?

Please be cautious with reinstalling your dependencies with that new version.

I think we are tracking down two different issues here, so it might not work for all of you, but it's a first step.

Thank you again for your feedback.

@zoey-kaiser
Copy link

Hey :)

I just published 0.3.2, could you try this version and keep me up to date if it solves your issue?

Please be cautious with reinstalling your dependencies with that new version.

I think we are tracking down two different issues here, so it might not work for all of you, but it's a first step.

Thank you again for your feedback.

Hi @Tahul! I just upgraded my docs and it did the trick!

Thank you for the quick response time ❤️

@bennyzen
Copy link

Yep, you fixed it. Thanks a lot.

@ipatate
Copy link

ipatate commented Nov 21, 2022

yep, fixed, thanks !!
Screenshot 2022-11-21 at 17 31 21

@Tahul
Copy link
Contributor

Tahul commented Nov 21, 2022

@KyleRicardo ; could you tell me if this update solved your problem as well?

If not, could we start tracking that inside another issue?

@Hecatron
Copy link

@KyleRicardo ; could you tell me if this update solved your problem as well?

If not, could we start tracking that inside another issue?

I've just tried this myself and I'm afraid 0.3.2 doesn't appear to fix the windows pathing issue
I would like to say thanks very much for finally doing a public release though I've taken an interest in this for a while but the only source I've had access to has been via npmjs

Issue raised here - #684

@sfxcode
Copy link

sfxcode commented Nov 21, 2022

Fixed my problem, thank you !

@monsat
Copy link

monsat commented Nov 21, 2022

Fixed, thank you.

In my case, I removed all node_modules/ in my monorepo.

@KyleRicardo
Copy link

I'm afraid not, about the windows pathing issue. And just curious, is tens of seconds of vite warming up time normal? I tried the latest 0.3.2 version and the time almost increased by 50%(37s -> 52s). I've used vite to do my Vue development, and it usually took ~1s to run npm run dev.
image

BTW, I'll try docus on my macbook pro later sometime and get this feedback updated.

@Tahul
Copy link
Contributor

Tahul commented Nov 22, 2022

@KyleRicardo ; we are now tracking in #684

As others has marked the original issue as resolved, I prefer to close this one and keep conversations in proper issue!

Thank you all again for your feedback, and see you on #684 to resolve this one! :)

@Tahul Tahul closed this as completed Nov 22, 2022
@sfxcode
Copy link

sfxcode commented Nov 27, 2022

@Tahul Same problem like this after updating to version 1.0.1.
Startup does not come to proper end in time and processor load is rising ....

@Tahul
Copy link
Contributor

Tahul commented Nov 27, 2022

Hey @sfxcode ; could you try regenerating your lockfile ?

Reinstall all dependencies to grab Pinceau ^0.7.1.

I'm sorry, I think latest release I made rollbacked the fix I pushed for this issue.

It should be fine now.

@sfxcode
Copy link

sfxcode commented Nov 27, 2022

Hi @Tahul, worked like a a charm. Sorry to interrupt at sunday ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests