Schematic input does not validate against the Schema: {“name”:“testng7”} on Angular 7


I updated the Angular CLI to the latest @angular/cli@7.0.2 on a Mac OS. When issuing the command ng new testng7, I get this error:

Schematic input does not validate against the Schema: {"name":"testng7"} Errors: Data path "" should have required property 'version'.

And nothing is created. Any clues how to fix?


First, to upgrade, I did this:

npm i -g @angular/cli npm i @angular/cli

to install globally and locally. Running an npm audit fix revealed there is a problem with a missing package.json in the npm logs - missing from my root directory! So I created one with the following command in my home directory:

npm init --yes

for a default one. Now issuing an ng new projName works.


Try the


ng new projectName


cmd in powershell with admin rights. I did it once and after that it works in normal cmd promt too.


  • Linux bash to iterate over apache access_log files and send mail
  • Is this a proper for-loop optimization
  • NuGet: automatically migrate references to packages
  • Spring AOP :- Getting parameterNames as null in the joinPoint
  • java.exe finished with non-zero exit value 1
  • SVN 1.3 VS 1.5 (latest)
  • How to upgrade symfony2 version?
  • Enforce an Edge to connect two distinct vertex classes
  • Can't install scipy
  • Unable to create Web Service Client from WSDL URL in NetBeans
  • .Settings file in Win Form App, Best Practice
  • Unable to connect to remote MySql server in Asp.Net
  • Mercurial vs Subversion. Whose performance is better?
  • HTML file fetched using 'wget' reported as binary by 'less'
  • iOS Validation failed -> Bundle is invalid (Xcode 6.2, iOS 8.2)
  • What happened to Guava Constraints? [closed]
  • jQuery - how to validate a date of birth using jQuery Validation plugin?
  • Nested projects in multiproject visual studio templates
  • Retaining data after updating application
  • Examples of how to a STS in .Net 4.5 using WCF
  • How to revert to previous XCode version?
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • ActiveRecord query for a count of new users by day
  • TFS: Get latest causes slow project reloading
  • script to move all files from one location to another location
  • Javascript Callbacks with Object constructor
  • Validaiting emails with Net.Mail MailAddress
  • ILMerge & Keep Assembly Name
  • Where to put my custom functions in Wordpress?
  • Symfony2: How to get request parameter
  • what is the difference between the asp.net mvc application and asp.net web application
  • How to make Safari send if-modified-since header?
  • Numpy divide by zero. Why?
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Matrix multiplication with MKL
  • embed rChart in Markdown
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • Binding checkboxes to object values in AngularJs
  • How can I use `wmic` in a Windows PE script?
  • Unable to use reactive element in my shiny app