Hi, thanks for sharing the approach. Running some projects on the same windows machine I've faced to use different nodejs and angular cli versions simultaneously. I follow your way and have an issue with running ng when angular cli installed locally. I didn't install angular cli globally. I'm not sure do I need to have global angular cli if I need local versions? I will continue to try run it but it will be very kindly to hear your recommendations :) Thanks in advance.
BTW. Hope it will help someone like me. For sure ng and ng.cmd are in the local node_modules. Maybe I can run it locally with direct path to them. But I just install globally lower version of angular/cli. Thus I can run "ng new ". And it works well. Meanwhile I did steps after failure to run ng with local angular/cli: State: No global anguar/cli. Local angular/cli is 18.1.1
npm install -g @angular/cli@18.0 // especially to separate and test how it will work
test ng and it works now but shows version 18.0
install new app: ng new cli181
move to cli181
ng version // 18.1.1 as it is desired
run ng serve --open --watch // it works as expected
Wisdom is a Front-end developer and technical writer he loves problem solving and creating beautiful, responsive and dynamic web applications. He loves to shares knowledge through writing.
hey man, i haven't been active in so long but if this answer is still valid, uninstall the cli, try a global cli install first with the latest angular version then run a local installation.
Wisdom is a Front-end developer and technical writer he loves problem solving and creating beautiful, responsive and dynamic web applications. He loves to shares knowledge through writing.
Wisdom is a Front-end developer and technical writer he loves problem solving and creating beautiful, responsive and dynamic web applications. He loves to shares knowledge through writing.
Wisdom is a Front-end developer and technical writer he loves problem solving and creating beautiful, responsive and dynamic web applications. He loves to shares knowledge through writing.
Wisdom is a Front-end developer and technical writer he loves problem solving and creating beautiful, responsive and dynamic web applications. He loves to shares knowledge through writing.
I am a passionate and dedicated .NET Core application developer with a genuine love for Angular, a journey that has spanned over two enriching years and continues to thrive.
Wisdom is a Front-end developer and technical writer he loves problem solving and creating beautiful, responsive and dynamic web applications. He loves to shares knowledge through writing.
Hi, thanks for sharing the approach. Running some projects on the same windows machine I've faced to use different nodejs and angular cli versions simultaneously. I follow your way and have an issue with running ng when angular cli installed locally. I didn't install angular cli globally. I'm not sure do I need to have global angular cli if I need local versions? I will continue to try run it but it will be very kindly to hear your recommendations :) Thanks in advance.
BTW. Hope it will help someone like me. For sure ng and ng.cmd are in the local node_modules. Maybe I can run it locally with direct path to them. But I just install globally lower version of angular/cli. Thus I can run "ng new ". And it works well.
Meanwhile I did steps after failure to run ng with local angular/cli:
State: No global anguar/cli. Local angular/cli is 18.1.1
hey man, i haven't been active in so long but if this answer is still valid, uninstall the cli, try a global cli install first with the latest angular version then run a local installation.
That was a nice read! Liked, bookmarked and followed, keep the good work!
Thank you.
thank you
thank you, i will
very informative content
i'm happy to help
Thank you very much for this article, dude.
you are welcome