[BUG] `npm install` missing exactly one file in exactly one dependency package
Open
Nobody has claimed this yet.
Bug
Priority 2
- Dominant language
- JavaScript
- Stars
- 10.1k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
This is not just a request to bump a dependency for a CVE
- This is not solely a request to bump a dependency for a CVE
Current Behavior
- If I run
npm installat the root of https://github.com/NousResearch/hermes-agent, the filedist/tabler-icons-react.d.tsmust be present innode_modules/@tabler/icons-react, but is missing. - The next step to build the desktop app, namely
npm run build -w apps/desktopfails attsc -bwith errors due to missing type declaration. - Build succeeds if I manually insert the file from the tarball I got from npm registry.
Expected Behavior
npm install and then npm run build -w apps/desktop succeeds.
Steps To Reproduce
- On windows, git clone https://github.com/NousResearch/hermes-agent
npm installat the project root- Observe the contents in
node_modules/@tabler/icons-reactto see if the filedist/tabler-icons-react.d.tsis present npm run build -w apps/desktopat the project root to see "type declarations missing" errors fromtsc -b(more complete description and what I tried to fix it can be found in https://github.com/NousResearch/hermes-agent/issues/38146#issuecomment-4778032787)
Environment
- npm: 11.17.0
- Node.js: 24.15.0
- OS Name: Windows 11
- System Model Name: Dell OptiPlex 7000 (desktop)
- npm config:
cafile = "corporate certificate (redacted)"
registry = "corporate npm proxy (redacted)"
; no other configs set
The corporate proxy is not the cause, since the tarball downloaded from the proxy does contain the offending file, and it is present when I npm install @tabler/icons-react from a fresh project.
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
Reproduce the install from the hermes-agent repository on Windows, then inspect node_modules/@tabler/icons-react for dist/tabler-icons-react.d.ts. Run npm run build -w apps/desktop and compare the installed package with the npm tarball; done means npm install includes the declaration and the desktop build succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs, typescript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100