1. 执行js文件报错
  2. Block-scoped declarations (let, const, function, class)...(window10,node升级)
  3. 百度说是node版本太低,本地安装的是4.X.X版本,所以目标升级node
  4. window上面升级node,直接在官网下载msi文件,next直接安装,无需配环境
  5. https://github.com/nodejs/Release#release-schedule
  6. 本地安装完成,执行无报错
  7. Block-scoped declarations (let, const, function, class)...(window10,node升级)
  8. 网上流传的sudo npm install n -g,前面这个命令 n模块是不支持window系统的

相关文章:

  • 2022-12-23
  • 2021-04-10
  • 2021-08-05
  • 2022-01-21
  • 2021-11-09
  • 2021-07-17
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2021-11-08
  • 2021-12-28
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案