注册 登录
n/website · 8 个月前 · 1581 次浏览
u/cs9u钻石钻石会员
n/websiteu/cs9u 钻石会员 · 8 个月前

https://rustix.me/ 的容器建一个网站不行哇?

https://rustix.me/ 的容器建一个网站不行哇? 有点玩不来。

4
52
登录后参与讨论。
最佳答案楼主采纳 · 回答者获得 20 声望
linying233338 个月前2 赞同

cs9u: 运行后提示 const { spawn } = require(‘child_process’); SyntaxError: Invalid or unexpected token at internalCompileFunction (node:internal/vm:128:18) at wrapSafe (node:internal/modules/cjs/loader:1279:20) at Module._compile (node:internal/m…

52 条回复

你在看其中一组对话 往上一层 查看全部回复
  1. cs9u 钻石 楼主 钻石会员 8 个月前

    我用node.js容器,ai写了shell.js,运行目录下的index.html建了一个http 服务器。选择运行起来了。

    0
  2. sydney1 钻石 8 个月前

    可以的,下一步可以考虑用不用cf加速

    1
  3. cs9u 钻石 楼主 钻石会员 8 个月前

    你晓得这家可以自定义自己的域名不?

    0
  4. sydney1 钻石 8 个月前

    你给自己的域名设CNAME或ALIAS记录为它的域名就行

    0
  5. 继续这个对话 →