I was trying to use npm and get this message on my terminal ubuntu on windows: usr bin env bash r no such file or directory
To solve this problem:
1) Create a file: sudo vi /etc/wsl.conf
2) write this on it:
[automount]
enabled = true
mountFsTab = true
root = "/mnt/"
options =
[network]
generateHosts = true
generateResolvConf = true
[interop]
enabled = true
appendWindowsPath = true
3) Save and exit no VI press ESC and : and x ( save and exit )
Top comments (0)