切换至 zsh 后执行 npm run * 报错
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.
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
-
7
前端开发过程中运行 Vue 项目的时候,有时候使用 npm run serve 命令可以启动项目,有时候却会报错;有时候使用 npm run dev 命令可以启动项目,有时候却也会报错。是什么原因造成这种情况呢...
-
2
NPM dependencies in Lambda You can define Lambda code inline in an archive_file data source, but that works only for simple functions without any dependencies. For anything more serious, you’ll need a package.json
-
3
npm install报错not found: python2的结局方法这个问题,困扰过几乎所有的前端开发人员,我自己每次换电脑也对这个很头疼。干脆重新整理记录一下。安装指定版本的python...
-
8
从zsh切换到fish 2015-12-03 工具 ...
-
8
Mac切换终端至Oh My Zsh后,保留原/bin/bash终端显示名如果您发现本文排版有问题,可以先点击下面的链接切换至老版进行查看!!!
-
7
npm 是什么 npm(node pakage manage) 第三方包的管理器,并且是 Node.js 平台的默认包管理工具。 npm 做什么 通过 npm 可以安装、共享、分发代码,管理项目...
-
4
以下文章来源于大转转FE ,作者大转转FE转转的 CI 系统和开发环境为什么要从
-
5
切换mysql8.0后报错 SQLSTATE[HY000] [2054] 精选 原创 十月飘雪 2022-10-12 14:08:28
-
3
V2EX › Terminal iTerm/zsh 环境变量快速切换问题
-
1
ADG无法切换:报错 ORA-16467 2023-05-11 19:16 AlfredZhao
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK