lobehub / chat-plugin-template

🧩 / 🚀 PluginTemplate - This is the plugin template for LobeChat plugin development.
MIT License
37 stars 29 forks source link

bun dev启动报错 #18

Closed tonyyls closed 9 months ago

tonyyls commented 9 months ago

🧐 问题描述 | Proposed Solution

bun install 正常安装, 接下来 bun dev 就报如上错误了。烦请看看

image

📝 补充信息 | Additional Information

No response

lobehubbot commented 9 months ago

👀 @tonyyls Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 9 months ago

@tonyyls pull下,然后重新bun dev试试,前一个 commit 写错了依赖版本号

tonyyls commented 9 months ago

@arvinxx pull 后, 删掉node_modules,重新 bun install, 再 bun dev ,报错依旧。

image

环境信息:

image

麻烦再看看。

arvinxx commented 9 months ago

可能是你 node 环境版本太低了,试试升级下 node?最新 LTS 都到 node 20 了。我本地跑是ok的。 node v18

tonyyls commented 9 months ago

@arvinxx Done, 升级到 16 即可。Thanks .

image

lobehubbot commented 9 months ago

✅ @tonyyls
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。