我想重新检查我的HTML,但我不能这样做。我的代码很简单:
module.exports = {
html: require('./template.html')
};
当我运行代码时,它会出现此错误:
SyntaxError: Unexpected token <
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:414:25)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
require (module.js:385:17)
at Object.<anonymous> (D:\frontend\lokidump\server\views\traders\betofcourse\upcomingEvents\index.js:2:9)