On my Windows 10 64-bit laptop, I have successfully created an angular 8 app using following command:
C:\Angular> ng new angular-hello-world
This installed all necessary files and packages from the internet under C:\Angular\angular-helllo-world
.
Now, I want to create another angular 8 application but without using the above command since I have internet issues on my end. I am tempted to do the following to create this app, but not sure if it would cause some issues other than not getting the latest npm packages.
Run the following command to create application folder:
C:\Angular> md angular-new-app
Run following command as an Administrator to copy all folders/files from existing angular-hello-world folder to angular-new-app folder including all permissions/security from source folder:
C:\Angular> xcopy c:\Angular\angular-hello-world c:\Angular\angular-new-app /O /X /E /H /K
Question: Would above approach of xcopy work or there are some hidden subtle issues when doing this?