【问题标题】:How we can use node js with old versionHow we can use node js with old version
【发布时间】:2022-12-28 00:35:10
【问题描述】:

I already updated nodejs to v14.20.1 that work with Angular CLI but it is not complied with my project (lot of issues).

So I decide to use v8.10.0 and how we can keep that version and execute Angular CLI without the note below.

"Node.js version v8.10.0 detected. The Angular CLI requires a minimum Node.js version of either v14.20, v16.13 or v18.10."

Thank you

【问题讨论】:

  • Not sure you can. I don't think they'd add that warning for giggles, they probably truly require a newer version of node.
  • Note that evensecuritysupport ended for Node.js v8 at the end of December 2019. Would youreallywant to use that? (And v14 is out of active support and only has 4 months and 3 weeks left of security support...)
  • You probably have a bunch of old packages that needs to be updated as well. Hopefully you dont have too many abandoned old packages. But if you want to run multiple versions of Node to try stuff out. I would suggest getting nvm, then you can switch between versions with commandline.

标签: java node.js angular spring-boot angular-cli


【解决方案1】:

Just try to run the command npm install -g on your angular project, that may could help

【讨论】:

    猜你喜欢
    • 2022-12-01
    • 2022-12-27
    • 2022-12-27
    • 2023-01-31
    • 2022-12-19
    • 2022-12-02
    • 2022-12-27
    • 2022-12-27
    • 2022-12-28
    相关资源
    最近更新 更多