2

while installing the angular cli, got this warning:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\@angular\cli\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) but on checking the version of Angular it shows: Angular CLI: 6.0.7 Node: 8.11.2 OS: win32 x64.

now when am trying to create a directory at the command prompt its not creating any directory. When running this command ng new conFusion -dir=./conFusion --style=scss it is not creating any directory. please lemme know the reason

4
  • 1
    how is this java related? did you check the official angular pages? if you follow what they do there, you really can't go wrong.
    – Stultuske
    Jun 4, 2018 at 6:23
  • when trying to give ng serve command it says angular.json file not found
    – rachana
    Jun 4, 2018 at 6:28
  • See this github.com/angular/angular-cli/issues/5431 and try ng new conFusion --directory conFusion --style=scss
    – Vikas
    Jun 4, 2018 at 6:32
  • Thanks Vikas. It helped.
    – rachana
    Jun 4, 2018 at 7:17

1 Answer 1

0

You can't do anything about it. It is just a (useless) warning which annoys many people.

See https://github.com/npm/npm/issues/20639

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.