在跑 CI 过程中执行下面的命令
npm install --cache .npm --prefer-offline --no-audit --legacy-peer-deps
报错
npm error code ERR_INVALID_ARG_TYPE npm error The "from" argument must be of type string. Received undefined
npm install 改成 npm ci 后错误就消失了
npm install
npm ci