Mehmet Yıldırım
Mehmet Yıldırım
updating angular cli didn't help . tns create command doesn't put schema.json in its folder. 
deleting node_modules and npm install helped. Now ng generate component now works but ng generate service doesn't still no schema.json file in its folder.
Problem solved.... npm uninstall -g @angular/cli npm cache verify npm install -g @angular/cli