whois-json whois npm package lib lib不在bun中工作
因此,我有这个简单的文件whois.js
:
它非常简单,在节点中它可以正常运行,并且在bun中永远运行。 在图像中,它显示了节点的返回以及我强迫取消该过程的时间。
我真的不知道要在问题中提出什么,如果您需要更多信息,请评论,我会提供。
so I have this simple file whois.js
:
It's pretty simple, in node it works and in bun just runs forever.
In the image it shows the return in node and the time it took until I forced cancelled the process in bun.
I don't really know what else to put in the question, if you need any more information please comment and I'll provide.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确保您安装Express类型
npm install @type/express
在.ts文件import> import {application}中,从'express''
您的代码看起来像这样:
Make sure you install express types
npm install @types/express
and in your .ts fileimport {Application} from 'express'
Your code would look like this:
尝试一下,至少在Linux上一切正常。您确定这与系统上的某些配置或BUN安装问题无关吗?
Gave it a try and everything works as expected on Linux at least. Are you sure it is not something to do with some config on your system or some issues with bun installation?