“npm run”角度脚本在某些计算机上错误的 unix 命令,而不是其他计算机

时间:2021-05-18 16:36:16

标签: node.js angular linux npm

我在工作中遇到了一个问题,我似乎无法确定根本原因。我们有通过 npm 以 angular 运行的脚本来运行服务器的本地实例。似乎在某些同事的电脑上出现命令错误。好像和linux有关。见here。这是相同的错误,但 ANGULAR_ENV 而不是 NODE_ENV。有谁知道为什么它可以在某些电脑上运行而不是在其他电脑上运行?命令如下div#olark_tab { position: fixed; right: 0; bottom: 50%; z-index: 5000; } #olark_tab div { height: 150px; width: 150px; float: right; transform: rotate(-90deg); } #olark_tab a { background-color: grey; opacity: 0.5; color: aqua; font: bold 18px "century gothic"; height: 20px; padding: 6px; border: 2px solid #363636; display: block; text-decoration: none; text-align: center; width: auto; border-bottom-right-radius: 9px; border-bottom-left-radius: 9px; border-top-style: none; border-top-width: 0; } #olark_tab a:hover { background-color: white; color: aqua; }

1 个答案:

答案 0 :(得分:0)

看起来是这样的:

config set script-shell "C:\Program Files\Git\bin\bash.exe"