Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM WARN Unsupported platform for fsevents@1.1.3 ? #8551

Closed
Vampire-V opened this issue Nov 20, 2017 · 7 comments
Closed

NPM WARN Unsupported platform for fsevents@1.1.3 ? #8551

Vampire-V opened this issue Nov 20, 2017 · 7 comments

Comments

@Vampire-V
Copy link

Vampire-V commented Nov 20, 2017

Versions

<!--
Output from: `ng v1.5.2`.
 output from: `node v8.9.1` and  `npm v5.5.1`.
  Windows 7
-->

Repro steps

  • Step 1 : npm install -g @angular/cli
  • Step 2 : NPM WARN Unsupported platform for fsevents@1.1.3
  • Step 3

Observed behavior

<!-- 
<img width="726" alt="capture" src="https://user-images.githubusercontent.com/25393048/33001076-4524761c-cdde-11e7-96c3-868dc979ac46.PNG">
 -->

Desired behavior

Mention any other details that might be useful (optional)

@danielsogl
Copy link
Contributor

You can ignore this warning. fs-events is required on macOS

@filipesilva
Copy link
Contributor

Closing as answered by @danielsogl, thanks!

@kirhhof
Copy link

kirhhof commented Mar 19, 2018

Hi to all,
after upgrading to typescript 2.7.2 and angular 5.2.9 I am getting this as error!

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

@kirhhof
Copy link

kirhhof commented Mar 20, 2018

adding this to package.json solved the problem for me

 "optionalDependencies": {
    "fsevents": "*"
  }

@venuthang03
Copy link

Thanks @kirhhof - this saved me!

on my ubuntu 16

"optionalDependencies": {
"fsevents": "*"
}

@JipingWang
Copy link

not acceptable for me. See how yarn handle this:
yarn install v1.15.2

[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "win32" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants