如何解决我的 repl 不起作用:html 文件已损坏
知道要尝试什么! 我在我的 HunterOS Collab 上重新发布。 在 index.html 上,它的内容是这样的:
<!DOCTYPE html>
<html>
<head>
<title>HunterOS</title>
</head>
<body>
</body>
</html>
那不是真正的,但它解释了它。 如果我相信你,我们也许可以使用 replit 多人游戏
我还有一个包含内容的 nodejs 文件“index.js”:
console.log("booting...")
console.log("no HTML found.")
console.log("express required")
const express = require('express');
const app = express();
app.get('/',(req,res) => {
});
app.listen(3000,() => {
console.log('Now listening');
});
require('./index.html')
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。