Cannot find module '...node_modules/tslib/modules/index.js' imported from chunks/app/server.mjs
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- nuxt, typescript
- 领域
- build-system
调研方向
使用全新的 Nuxt 应用、nuxt apollo 和高于 2.5.1 的 tslib 版本复现该问题,然后进行构建、提供服务并导航,以触发缺少 modules/index.js 模块的错误。将结果与 tslib 2.5.1 进行比较,并检查 chunks/app/server.mjs 和包解析情况。完成标准是应用能够成功构建并提供服务,而无需降级。
由索引模型根据 Issue 内容生成。
描述
This specifically started when tslib was upgraded past 2.5.1 and downgrading it back to 2.5.1 solves it. I don't understand the interplay between this package and (in my case) nuxt / nuxt/apollo to speak to anything further, hoping someone who has a better handle on this can figure it out!
Steps to reproduce:
- Install a fresh
nuxtapp - Add nuxt apollo (https://apollo.nuxtjs.org/)
- Build and serve
- Navigate anywhere and you get the above error
Now if you explicitly downgrade to 2.5.1 in your package.json and follow steps 3 and 4 everything works!
- 主要语言
- TypeScript
- 星标
- 1.3k
- 派生
- 146
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/tslib 的其他 Issue
-
question
难度 4/5 3-5 天 新手友好度 38/100
-
难度 1/5 1 小时以内 新手友好度 15/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 68/100
xavxyz/bei-shan-lin-shui#57 ·
维护者通常 1 天内回复
-
[BUG] rag: sentence content can cross the reported sentence boundaries可能已有人在做 @LJK-ikun 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URI未关闭
难度 1/5 1 小时以内 新手友好度 88/100
platformatic/mcp#361 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
siyuan-note/siyuan#20799 · 7 条评论 ·
维护者通常 1 天内回复