Reputation: 31
Whenever I tried using
ng new --collection=@nativescript/schematics --name=my-app --shared
OR
Any of the other command line commands to generate a project in which I can
develop PWA app (Web + Mobile) it also ends with error as follows -
the schematic workflow failed.
I have installed latest versions of
NPM
Angular cli
Nativescript cli
nativescript/schematics
I am doing this on windows 8
Anybody know what the problem is?
Have searched online but have failed to get a solution. Thanks.
Upvotes: 2
Views: 2561
Reputation: 667
Check Node and Npm versions using the below command.
node -v
npm -v
if npm version >= 7.As per online info, the Angular team recommends using npm 6 for now.
npm install -g npm@6
clean npm cache
npm cache clean --force
install latest NG CLI
npm install -g @angular/cli@latest
Upvotes: 3
Reputation: 24
try downgrading you angular version to 8/9 schematics may work there (especially Angular 8)
to do so,
npm install -g @angular/cli8
Upvotes: 0