jenkins构建时报错:
Rollup failed to resolve import "axios" from "C:/Users/EDY/AppData/Local/Jenkins/.jenkins/workspace/H5-commonality/h5-public-resources/utils/request.ts".
10:34:06 This is most likely unintended because it can break your application at runtime.
10:34:06 If you do want to externalize this module explicitly add it to
10:34:06 `build.rollupOptions.external`�[31m
出错原因: 因为项目构建涉及到2个git仓库(假设A仓库、B仓库),A仓库安装了依赖,B仓库忘记npm install。而axios刚好在B仓库内使用。











网友评论