3

切换至 zsh 后执行 npm run * 报错

 2 years ago
source link: https://www.v2ex.com/t/845669
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Linux

切换至 zsh 后执行 npm run * 报错

  wdssmq · 6 小时 13 分钟前 · 681 次点击

wsl2 + Ubuntu 18 ,本来是为了解决 Docker 不能自启,折腾了个半天装了个 zsh

「折腾」莫名其妙得解决了 wsl2 内 Docker 的自启动_电脑网络_沉冰浮水:

https://www.wdssmq.com/post/20140328160.html

Docker 自启目测是解决了,但是今天跑 node 项目又不行了。。

/usr/bin/env: ‘bash\r’: No such file or directory

目前切换回 bash 可以恢复 npm 执行。

我的需求就是 1 、Docker 能正常自启; 2 、不影响其他使用;

zsh 之前隐约看到过推荐,有啥优点目前也不清楚,并不是特别需要用。。


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK