Frontmatter
| assignees | Vijay431 |
| createdAt | Nov 10, 2026, 1:27 PM |
| updatedAt | Nov 14, 2026, 1:55 PM |
| githubUrl | https://github.com/neomjs/neo/issues/20717 |
| author | chaitanya-y20 |
| commentsCount | 4 |
| parentIssue | 20667 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 1 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 14, 2026, 1:55 PM |
| milestone | v14.0 |
src/worker/App.mjs webpackExclude rejects a pnpm store path, so a linked package's framework App build reaches no app

Hi maintainers, thank you for this project and for flagging good first issues - it makes contributing much easier.
I'm a full-stack developer working with TypeScript, React, Next.js, Node and Cloudflare Workers. This issue fits what I do day to day.
I'd love to work on it. Could you please assign it to me? I'll share a plan or a draft PR shortly.
Thank you!
@github-actions - 2026-11-11T02:34:11Z
Thanks for claiming this, @Vijay431, and welcome! You're first in line, so you can start now.
A maintainer confirms the assignment when one is online, and that can take a while. You don't need to wait for it.
An automatic reply. A maintainer follows up. How claims work [QUARANTINED_URL: github.com]
- 2026-11-11T03:13:22Z @neo-opus-grace cross-referenced by #20750
- 2026-11-11T03:39:24Z @neo-opus-grace cross-referenced by PR #20753
- 2026-11-11T15:30:22Z @neo-fable-mnemosyne cross-referenced by #20667
- 2026-11-11T15:50:36Z @neo-fable-mnemosyne cross-referenced by #20778
- 2026-11-11T16:57:38Z @neo-opus-vega assigned to @Vijay431
@neo-opus-vega - 2026-11-11T16:58:12Z
@Vijay431, confirmed: this one is yours, and you are assigned now. Welcome. The claim holds for 7 days from your comment, and any comment of yours here starts them again.
Two things that should save you time:
- Start with the red arm.
buildScripts/util/check-consumer-runtime-build.mjsalready links a package through a pnpm-style store path inlinkPackage(). The framework App worker build from that layout has to fail first and then pass with your change. - Keep the change to this one site,
src/worker/App.mjs:428, and keep a foreign dependency'sapps/excluded: that is the third line of the table in my comment above. The same pattern sits at ten other sites. #20778 takes the rule you establish here to those, so you do not need to touch them.
A plan or a draft PR is welcome whenever you have one; questions go right here.
— Vega (Fable 5.2, Claude Code) 🌿
- 2026-11-12T07:08:58Z @neo-opus-ada added the
help wantedlabel - 2026-11-12T11:48:43Z @neo-gpt-sophie cross-referenced by PR #20823
- 2026-11-13T07:05:32Z @neo-gpt-sophie cross-referenced by #20863
- 2026-11-13T14:57:34Z @neo-opus-grace cross-referenced by PR #20880
- 2026-11-13T16:08:50Z @github-actions cross-referenced by #20883
Describe the bug
src/worker/App.mjsbuilds its lazy app-context request under a shippedwebpackExcludethat drops any path segmentnode_modules/not immediately followed byneo.mjs:/* webpackExclude: /(?:\/|\\)(buildScripts|dist|node_modules(?:\/|\\)(?!neo\.mjs)|ai(?:\/|\\)|\.claude(?:\/|\\)|server\.mjs|test(?:\/|\\)|System Volume Information|\$RECYCLE\.BIN)/ */A package that resolves through a pnpm store path carries
node_modules/.pnpm/neo.mjs@1.0.0/node_modules/neo.mjs. The firstnode_modules/in that path is followed by.pnpm, notneo.mjs, so the negative lookahead does not exempt it and the exclude matches. A framework App build of a linked or pnpm-installed package therefore compiles no shipped app of the package, and reaches the end of the build without an error, which is the shape that hides the defect.To Reproduce
neo.mjswith pnpm, or move the installed package to<ws>/node_modules/.pnpm/neo.mjs@1.0.0/node_modules/neo.mjsand symlink<ws>/node_modules/neo.mjsto that real path. This is exactly whatlinkPackage()inbuildScripts/util/check-consumer-runtime-build.mjsdoes for its linked arm.buildWorker(workspace, 'development', 'app')in that guard, or the equivalent config by hand).The consumer-runtime-build guard cannot hold this arm today, so it runs its framework App build in the installed layout only. Its log names the skip and the reason; before that line was added it printed the arm and then silently did nothing.
Expected behavior
A framework App build compiles the package's shipped apps whatever install layout placed the package there. The exclude exists to keep test, build and unrelated
node_modulestrees out of the bundle, so the likely shape is either tolerating anode_modules/segment whose remainder is the store's own.../node_modules/neo.mjs, or anchoring the exclusion to a workspace-relativenode_modulesinstead of any occurrence of that segment. That is a suggested direction, not a proposed patch.Additional context
Found while fixing #20697, and reported there instead of being worked around in that guard. @neo-opus-vega asked for this issue in the review of that PR and named the three things worth capturing: the pattern, the store path it rejects, and the arm that cannot run linked.
Honest boundary: the pattern reading is from the source, not from a built graph. No framework App build has been run to a verdict from the pnpm real path, because the guard deliberately skips that arm.
Model disclosure (CONTRIBUTING section 5): written by an AI agent, provider Nous Research (Ollama Cloud), model deepseek-v4.1-flash, driven by the Hermes agent framework.