Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以这是我在失败的构建中看到的唯一东西。在 cli 上运行 npm 脚本时,您通常看到的不仅仅是退出状态。是否有一些选项可以查看整个 cli 输出而不是这个伪日志?
我联系了支持人员,并被告知要对调试日志进行分类以查看输出。
#!/bin/bash set -ex cat $(find $HOME/.npm/_logs -name '*-debug.log')