question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compiling hangs when building modules

See original GitHub issue

Bug Report

I’ve installed and configured Docz within my project, and when I have no .mdx files in the directory, and run docz dev, the server starts up completely fine. I navigate to http://localhost:3000 and see the Docz app with a 404 error (which is expected since I have no files created). This tells me that docz is configured fine (I’m using webpack 4 and babel 6 in combination with the babel6 plugin).

Now, when I actually add a simple intro.mdx file and run docz dev, it hangs on building modules.

This is the contents of the file:

---
name: Intro
---

# Hello World
> kwuikit@1.0.0 docs C:\xampp\htdocs\kwuikit
> docz dev

i  info      Removing old app files
i  info      Creating new docz files
i  info      Setup entries socket on port 8089

Compiling

* Client [Loading bar ] building modules (55%) 377/378 modules 1 active
  docs\intro.mdx <!--- HANGS RIGHT HERE

Expected behavior

I would expect with such a simple file that it properly loads the page, and I would see an Intro page when I navigate to http://localhost:3000

Enviroment

  • OS: Windows 10
  • Node/npm version: [Node v8.9.3/NPM v5.5.1]
  • Docz version: v0.4.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tsnolan23commented, Jul 3, 2018

@nicholasess Thanks for looking at this. I updated all my babel dependencies to the latest version of 6 and removed some unused dependencies, and it seems to not hang anymore. Closing this for now. Will update you if I find the root cause at some point.

1reaction
tsnolan23commented, Jul 2, 2018

It’s in a private repo, I’ll try to reproduce in another repo and post here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build process hangs at 'modules transformed' with >=2.9.7 ...
I have a bigger code base that stops working when using the following code while using vite >=2.9.7 . I tested older versions...
Read more >
Swift Compilation Hangs on Release Builds - Apple Developer
I'm getting an issue where compiling both my macOS and iOS frameworks in Release modes (i.e., Archive) in Xcode 10.2. This happens with...
Read more >
Webpack hangs at build stage - Stack Overflow
I recently did a fairly big merge, after it Webpack just hangs at 52% in building the modules. [52%] building (457/1296 modules).
Read more >
Solved: msbuild hangs at [build] Succeeded for packaging...
But when i run "msbuild", it gets stuck at the end and no files are generated inside the /bin/Debug folder inside solutions folder....
Read more >
"Compile WebAssembly Module" build process briefly freezes ...
To clarify, the builds complete successfully, however my system freezes consistently and builds take longer than I believe they should.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found