When installing Deno 2.0 in a WSL (Windows Subsystem for Linux) environment, the following error appears in the terminal upon opening a new Bash session:
-bash: /home/diegot4l/.deno/enveval: No such file or directory
After investigating, I found a problematic line in the ~/.bashrc file that was automatically added during the Deno installation:
Version: Deno 2.x.x
When installing Deno 2.0 in a WSL (Windows Subsystem for Linux) environment, the following error appears in the terminal upon opening a new Bash session:
After investigating, I found a problematic line in the ~/.bashrc file that was automatically added during the Deno installation:
The issue is that the line is malformed. It should be separated into two distinct commands:
Steps to reproduce the issue:
curl -fsSL https://deno.land/install.sh | sh
)Expected behavior:
The installation should correctly configure the
~/.bashrc
file without errors, allowing the use of Deno without additional issues.Development environment:
Possible solution:
Update the installation script to ensure the commands are correctly written to the
~/.bashrc
file, avoiding the error.