mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 06:15:52 +03:00
[GH-ISSUE #662] [BUG]worker设置中兼容性标志现在无法设置为nodejs_compat,代码部署后会报No such module "node:stream". imported from "worker.js"这个错误. #251
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#251
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ajdre2015 on GitHub (Jun 4, 2025).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/662
复现步骤
预期行为
兼容性标志中没出现默认的nodejs_compat,反而出现2个新的选项,然后选择(nodejs_compat_populate_process_envnodejs_compat_do_not_populate_process_env,)其中任意一个,部署代码后均报No such module "node:stream". imported from "worker.js"这个错误.
部署方式
浏览器环境
@vjeson commented on GitHub (Jun 5, 2025):
同样问题,这2个随便选那个然后部署worker.js都报一样的错误, 只能选这2个,但是随便选那个,deploy报错 nodejs_compat_populate_process_env
@vjeson commented on GitHub (Jun 5, 2025):
通过cli 方式部署能部署,这个变量好像是可以写死的
@dreamhunter2333 commented on GitHub (Jun 5, 2025):
输入 nodejs_compat 直接选择即可,此处是个带提示的文本输入框
@vjeson commented on GitHub (Jun 5, 2025):
这个迷惑性确实强,我尝试过输入,最好在文档里面特殊说明,多谢
@dreamhunter2333 commented on GitHub (Nov 22, 2025):
可以打字输入的
@def-WA2025 commented on GitHub (Nov 23, 2025):
现在只能选择(?
但是文档里找到了 link
Update:
为啥还是
Uncaught Error: No such module "node:stream". imported from "worker.js"@dreamhunter2333 commented on GitHub (Nov 23, 2025):
重新部署一次最新版本呢