pnpm run dev:web fails with “Module not found: Can’t resolve ‘@langfuse/shared'” when using Turbopack

这个报错发生在 Langfuse 项目使用 pnpm run dev:web (默认启用 Turbopack)启动仅 Web 开发服务器时,原因是 next.config.mjs 中 turbopack.resolveAlias 配置的路径写错且缺少子路径映射。优先检查并修正 @langfuse/s
![[BUG]: Backend helper process crashes during agent sessions; ~830 MB leaked per agent exchange](https://www.chat-gpts.plus/wp-content/uploads/2026/08/6145-883c9b4e-768x403.jpg)

![[Question]: Rewrite component in agent](https://www.chat-gpts.plus/wp-content/uploads/2026/08/9143-c33f455d-768x403.jpg)
![[Question]: Is there a way to configure how particular extension should be parsed?](https://www.chat-gpts.plus/wp-content/uploads/2026/08/7984-5b787e60-768x403.jpg)




