curi
August 24, 2021, 8:22pm
1
Hey guys.
I am trying to install hex but it raises an error:
** (File.Error) could not make directory (with -p) “j:/.mix/archives/hex-0.21.2”: no such file or directory
(elixir 1.11.2) lib/file.ex:315: File.mkdir_p!/1
(mix 1.11.2) lib/mix/tasks/archive.install.ex:118: Mix.Tasks.Archive.Install.install/3
(mix 1.11.2) lib/mix/local/installer.ex:107: Mix.Local.Installer.local_install/3
(mix 1.11.2) lib/mix/task.ex:394: Mix.Task.run_task/3
(mix 1.11.2) lib/mix/cli.ex:84: Mix.CLI.run_task/2
I already did set up the windows env paths, but i am still missing something.
My versions:
Erlang/OTP 24 [erts-12.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.11.2 (compiled with Erlang/OTP 21)
Permissions problem, maybe?
Sebb
August 25, 2021, 7:01am
3
yes, also j
looks like a network drive.
curi
August 25, 2021, 4:04pm
4
hey friend, yes, maybe it is
Windows network drive permissions can be a huge pain. Any particular reason why you don’t install Elixir and its programs (like hex
) on a local drive where they belong?
1 Like
curi
August 28, 2021, 4:23pm
7
Sorry for taking so long to respond.
I am doing it on the company notebook, so i think, maybe, it did happens because i didn´t have any adm permission before or i haven´t did it as adm at the first moment.
It makes sense?
Sebb
August 28, 2021, 4:27pm
8
Do not (unless you really know why and what you are doing) install hex on a network drive.
1 Like
You can’t do normal programming work if you don’t have freedom to install things on the machine. Talk with your IT.