Solution:-
- Navigate to your username folder by opening windows explorer and typing in the address bar
%HomePath%
- Check if the file
package.json
and if the foldernode_module
exist. If so, you can delete them safely. - Try again to create project using ng new ProjectName