Internal server error: Failed to load url crypto
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- node.js, react, typescript, vite
调研方向
使用报告中的 Node.js 和 Yarn 版本,在将 package 添加到 vite.config.ts 后重现重新加载失败。首先检查 node_modules/.vite/deps_ssr/react-router-devtools_client.js 在 SSR 期间如何解析 crypto。开发服务器能够在不出现 Vite 内部服务器错误的情况下重新加载,即表示完成。
由索引模型根据 Issue 内容生成。
描述
After installing this and adding it to my vite.config.ts, a reload results in:
...
[vite] Internal server error: Failed to load url crypto (resolved id: crypto) in node_modules/.vite/deps_ssr/react-router-devtools_client.js. Does the file exist?
...
> node -v
v22.16.0
> yarn -v
4.9.1
> yarn info react-router
└─ react-router@npm:7.6.2
├─ Instances: 1
├─ Version: 7.6.2
│
└─ Dependencies
├─ cookie@npm:^1.0.1 → npm:1.0.2
└─ set-cookie-parser@npm:^2.6.0 → npm:2.7.1
> yarn info @react-router/dev
└─ @react-router/dev@npm:7.5.3
├─ Instances: 1
├─ Version: 7.5.3
│
├─ Exported Binaries
│ └─ react-router
│
└─ Dependencies
├─ @babel/core@npm:^7.21.8 → npm:7.27.4
├─ @babel/generator@npm:^7.21.5 → npm:7.27.5
├─ @babel/parser@npm:^7.21.8 → npm:7.27.5
├─ @babel/plugin-syntax-decorators@npm:^7.22.10 → npm:7.27.1
├─ @babel/plugin-syntax-jsx@npm:^7.21.4 → npm:7.27.1
├─ @babel/preset-typescript@npm:^7.21.5 → npm:7.27.1
├─ @babel/traverse@npm:^7.23.2 → npm:7.27.4
├─ @babel/types@npm:^7.22.5 → npm:7.27.6
├─ @npmcli/package-json@npm:^4.0.1 → npm:4.0.1
├─ @react-router/node@npm:7.5.3 → npm:7.5.3
├─ arg@npm:^5.0.1 → npm:5.0.2
├─ babel-dead-code-elimination@npm:^1.0.6 → npm:1.0.10
├─ chokidar@npm:^4.0.0 → npm:4.0.3
├─ dedent@npm:^1.5.3 → npm:1.6.0
├─ es-module-lexer@npm:^1.3.1 → npm:1.7.0
├─ exit-hook@npm:2.2.1 → npm:2.2.1
├─ fs-extra@npm:^10.0.0 → npm:10.1.0
├─ jsesc@npm:3.0.2 → npm:3.0.2
├─ lodash@npm:^4.17.21 → npm:4.17.21
├─ pathe@npm:^1.1.2 → npm:1.1.2
├─ picocolors@npm:^1.1.1 → npm:1.1.1
├─ prettier@npm:^2.7.1 → npm:2.8.8
├─ react-refresh@npm:^0.14.0 → npm:0.14.2
├─ semver@npm:^7.3.7 → npm:7.7.2
├─ set-cookie-parser@npm:^2.6.0 → npm:2.7.1
├─ valibot@npm:^0.41.0 → npm:0.41.0
└─ vite-node@npm:3.0.0-beta.2 → npm:3.0.0-beta.2
x yarn info react-router-devtools
└─ react-router-devtools@npm:5.0.6
├─ Instances: 1
├─ Version: 5.0.6
│
└─ Dependencies
├─ @babel/core@npm:^7.26.10 → npm:7.27.4
├─ @babel/generator@npm:^7.26.5 → npm:7.27.5
├─ @babel/parser@npm:^7.26.10 → npm:7.27.5
├─ @babel/traverse@npm:^7.26.10 → npm:7.27.4
├─ @babel/types@npm:^7.26.10 → npm:7.27.6
├─ @biomejs/cli-darwin-arm64@npm:^1.9.4 → npm:1.9.4
├─ @radix-ui/react-accordion@npm:^1.2.2 → npm:1.2.11
├─ @radix-ui/react-select@npm:^2.1.5 → npm:2.2.5
├─ @rollup/rollup-darwin-arm64@npm:^4.32.1 → npm:4.42.0
├─ @rollup/rollup-linux-x64-gnu@npm:^4.32.1 → npm:4.42.0
├─ beautify@npm:^0.0.8 → npm:0.0.8
├─ bippy@npm:^0.3.7 → npm:0.3.16
├─ chalk@npm:^5.4.1 → npm:5.4.1
├─ clsx@npm:^2.1.1 → npm:2.1.1
├─ date-fns@npm:^4.1.0 → npm:4.1.0
├─ framer-motion@npm:^12.0.6 → npm:12.16.0
├─ react-d3-tree@npm:^3.6.4 → npm:3.6.6
├─ react-diff-viewer-continued@npm:^4.0.5 → npm:4.0.6
├─ react-hotkeys-hook@npm:^4.6.1 → npm:4.6.2
├─ react-tooltip@npm:^5.28.0 → npm:5.28.1
└─ tailwind-merge@npm:^3.0.1 → npm:3.3.0
- 主要语言
- TypeScript
- 星标
- 975
- 派生
- 55
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
code-forge-io/react-router-devtools 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 30/100
-
难度 3/5 1-2 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 38/100
code-forge-io/react-router-devtools#247 · 12 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
code-forge-io/react-router-devtools#243 · 1 条评论 ·
查看 code-forge-io/react-router-devtools 的全部 Issue
相似的 Issue
-
Out of order / duplicate key error shows the key bytes as decimal or UTF-8, not hex可能已有人在做 @bardrop 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 86/100
-
`/leaderboard`, the page and the share image say "be the first" for a program that hasn't started未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 84/100
codercops/discord-bot#152 ·
维护者通常 1 天内回复
-
bug i18n
难度 2/5 1-3 小时 新手友好度 74/100
endora-commerce/endora-commerce#1315 ·
维护者通常 1 天内回复
-
area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 72/100
enorm-labs/event-junkie#5136 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复