Open jialinhuang00 opened 6 years ago
Nodejs
uninstalled and reinstalled...npm i -g create-react-app
>npm install -g @angular/cli
npm WARN @schematics/angular@0.1.10 requires a peer of @angular-devkit/schematics@0.0.40 but none is installed. You must install peer dependencies yourself.
npm WARN @schematics/schematics@0.0.10 requires a peer of @angular-devkit/schematics@0.0.40 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\@angular\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
@angular-devkit/schematics@0.0.40
-g
flag is important!if installing something that dosen't use -g
will create at your cmd working place.
npm -g ls --depth=0