n-club下载下来后运行不了
发布于 8 年前 作者 wollld 3054 次浏览 来自 问答

SyntaxError: Unexpected token ILLEGAL at exports.runInThisContext (vm.js:54:16) at Module._compile (module.js:375:25) at Object.Module._extensions…js (module.js:406:10) at Module.load (module.js:345:32) at Function.Module._load (module.js:302:12) at Module.require (module.js:355:17) at require (internal/module.js:13:17) at /Users/land/nclub/node_modules/koa-frouter/index.js:19:23 at Array.forEach (native) at module.exports (/Users/land/nclub/node_modules/koa-frouter/index.js:18:12) at Object.<anonymous> (/Users/land/nclub/app.js:37:9) at Module._compile (module.js:399:26) at Object.Module._extensions…js (module.js:406:10) at Module.load (module.js:345:32) at Function.Module._load (module.js:302:12) at Function.Module.runMain (module.js:431:10) at startup (node.js:141:18) at node.js:977:3 landchendeMacBook-Air:nclub land$ 请高人指点错误原因

3 回复

加了,注释掉app.use?koa-froute就不报错 但运行页面抛异常

回到顶部