请问这是什么报错,我该怎么修改
school git:(master) ✗ node index
/Users/huimini/github/imooc/school/index.js:1
(function (exports, require, module, __filename, __dirname) { var class = require('./class')
^^^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:404:25)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)
at node.js:972:3