LMSouq
server-admin Open

After installing npm on WSL Ubuntu 20.04 I get the message "/usr/bin/env: ‘bash\r’: No such file or directory"

ZY
Zymotik
1 month ago
3 views
Problem Description
I see the following message when running the `npm install` or `npm` command from the terminal. Executing `node` works as expected. > npm install /usr/bin/env: ‘bash\r’: No such file or directory

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base