运行 node server.js报错
解决Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at
这个问题好像是由于nodejs版本过低导致的,更新nodejs版本就行。

window系统升级node只能到node官网下载window安装包来覆盖之前的node。即重新下载,一路next重新安装node即可,再执行node server.js就不报错啦。

相关文章:

  • 2021-11-11
  • 2021-10-25
  • 2022-01-31
  • 2021-03-31
  • 2021-12-16
  • 2021-06-06
  • 2021-08-06
  • 2022-01-09
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2021-12-28
  • 2021-06-19
  • 2021-08-07
  • 2022-12-23
  • 2021-04-13
相关资源
相似解决方案