ariandanim
Warning using map.field notation (without parentheses)
Dear all,
I have error when try mix phx.server
warning: using map.field notation (without parentheses) to invoke function FileSystem.Backends.FSWindows.bootstrap() is deprecated, you must add parentheses instead: remote.function()
(file_system 0.2.10) lib/file_system/backend.ex:23: FileSystem.Backend.backend/1
(file_system 0.2.10) lib/file_system/worker.ex:18: FileSystem.Worker.init/1
(stdlib 6.1) gen_server.erl:2229: :gen_server.init_it/2
(stdlib 6.1) gen_server.erl:2184: :gen_server.init_it/6
(stdlib 6.1) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
I am using Phoenix 1.7.14, Ellixir 1.17.3 and Erlang 27.1.2 in OS Windows 11
Marked As Solved
dimitarvp
OK, show us the output of mix deps.update phoenix_live_reload then.
1
Also Liked
stefanluptak
dimitarvp
Well, looks like this particular warning is now gone.
You can also try individually upgrading the dependencies that have warnings i.e.
mix deps.update tailwind
mix deps.update mint
mix deps.update phoenix_live_dashboard
But be warned, since LiveView is still not 1.0, stuff might break. Better backup and/or make sure that you can revert the project to where it was before running the commands (usually git revert . should work).
2
Popular in Questions
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
After calling mix ecto.create I get this error:
17:00:32.162 [error] GenServer #PID<0.412.0> terminating
** (Postgrex.Error) FATAL...
New
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
How to bind a phoenix app to a specific ip address?
could not find anything about that, nowhere, unfortunately, but for me this is quite...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
I had some trouble figuring out how to make many-to-many associations work. Once I got it working, I wrote a blog post. Because I’m a nov...
New
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
Other popular topics
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
If I have a post route which an argument:
post /my_post_route/:my_param1, MyController.my_post_handler
How would get the post params ...
New
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set?
Thanks.
New
Hello everyone,
Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New








