antfu / antfu/node-modules-inspector
Packages are not displaying in some case
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 90
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 9
Description
Describe the bug
IDK what exactly causes this. All the requests are passing and are returning correct info (haven't found any artifacts after manual checking):
https://github.com/user-attachments/assets/a0b5ed44-9594-483c-a34b-3d9bec6da1b6
If we boot node-modules-inspector by pnpx node-modules-inspector (only tiny-glob is installed, project is completely clean):
Reproduction
^
System Info
System:
OS: Windows 10 10.0.19045
CPU: (4) x64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
Memory: 1.91 GB / 7.80 GB
Binaries:
Node: 23.5.0 - E:\Tools\nodejs\node.EXE
Yarn: 1.22.22 - E:\.devtools\npm\global\yarn.CMD
npm: 10.9.2 - E:\Tools\nodejs\npm.CMD
pnpm: 10.10.0 - E:\.devtools\npm\global\pnpm.CMD
bun: 1.2.12 - E:\.devtools\npm\global\bun.CMD
Browsers:
Edge: Chromium (128.0.2739.42)
Internet Explorer: 11.0.19041.5794
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with pnpx node-modules-inspector in a clean project containing only tiny-glob, using pnpm on the reported Windows setup. Compare the package-display UI with the requests and returned data shown in the report; done means identifying why packages are omitted and confirming they render correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- devtools, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100