stevencch99
Issue of rendering newline/line warp on the terminal after running iex -S mix in the specific project
Issue of rendering newline/line warp on the terminal after running iex -S mix in the specific project
The terminal rendering became weird every time I ran $ iex -S mix in one of my working projects, and I don’t know how to fix that terminal session, all I can do is open a new one.
This issue only occurred in the specific project, not in any other project or other versions of Elixir, below are the steps of how do we reproduce the issue, and all my colleagues can reproduce this issue too.
Does anyone know if there’s anything I can do? Please help, thanks.
- My environment:
- MacBook Pro 2019, macOS Monterey v12.6
- The version of Elixir:
Erlang/OTP 25 [erts-13.0.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Reproducing in the macOS built-in Terminal v2.12.7 and Bash v3.2.57
- Execute
lsbefore$ iex -S mix - Run
$ iex -S mixin the root of my project - Abort
iexwithctrl + \and the terminal rendering become weird - Execute
lsafter$ iex -S mix, the input command becomes invisible…
Reproducing in the iTerm2 v3.4.16 and zsh v5.8
First Post!
stevencch99
Update for someone who ran into the same issue:
Refer to the checking options given by José:
I temporarily fixed this issue by removing the elixir-nodejs server from the children list in application.ex, but still figuring out what to do next since we need this library to execute custom JS code…
Popular in Questions
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
can someone please explain to me how Enum.reduce works with maps
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”:
14:57:30.512 [warn] ...
New
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this
"1000"
What is the ...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
Hello everybody,
usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
Other popular topics
Hi! May someone helps me, please!
I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
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 record...
New
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this
"1000"
What is the ...
New
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
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
Hey :wave:t3: Elixir community,
I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New










