Managing Multiple Angular Projects with Different Versions on a Single Machine
February 05, 2024
2 min
Angular is a platform and framework for building single-page client applications using HTML and TypeScript. Angular is written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that you import into your applications.
ng new <project name>
on VS Code terminal.ng : File C:\Users\Shady\AppData\Roaming\npm\ng.ps1 cannot be loaded because running scripts is disabled on this system. For more information, seeabout_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.At line:1 char:1+ ng new apex-test+ ~~+ CategoryInfo : SecurityError: (:) [], PSSecurityException+ FullyQualifiedErrorId : UnauthorizedAccess
$ Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser
That is all, now you can create new project from VS Code without any problem.
Quick Links
Legal Stuff