MacOSX 10.7 or later required for --file-events

Hello.
When I start a phoenix server with mix phx.server, my terminal shows this.

MacOSX 10.7 or later required for --file-events
[info] Running PappapWeb.Endpoint with cowboy 2.8.0 at 0.0.0.0:4001 (http)
[info] Access PappapWeb.Endpoint at http://localhost:4001

Elixir version: 1.7
Phoenix version: 1.5.1
macOS version: 11.2.2

What does the error mean? and should I do anything?

As a start, do you have XCode installed?

1 Like

The error is coming from package file_system here: file_system/main.c at acfc8a36b1a1bbb2e64e6451173ed03309812b2c · falood/file_system · GitHub

This will mean that file system watching will not work. That impacts live reload and code reload in Phoenix.

I guess the old Gestalt API used here is working wrong on your macOS version: file_system/main.c at acfc8a36b1a1bbb2e64e6451173ed03309812b2c · falood/file_system · GitHub

I guess the thing to do is to file an issue in the file_system project.

5 Likes

Yes, I have installed it.

Thank you :grin: