As of me issue happen due to cache.
npm cache verify
then try:
npm cache clean --force npm install –g @angular/cli@latest ng new <YourProjectName>