我一直在尝试从 github 存储库安装一些东西并在里面运行它。我npm install github:openfn/core#v1.0.0在我的项目目录中使用了它添加"core": "github:openfn/core#v1.0.0"到package.json中。但是,当我尝试构建 docker 容器时,docker build -t name .我收到以下警告并最终出现错误:
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/pino-pretty-fddda985/.travis.yml'
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/@babel/core-96a25426/lib/config/files/types.js'
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/@babel/core-96a25426/lib/config/util.js'
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/@babel/core-96a25426/lib/config/files/utils.js'
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/eslint-plugin-node-d3ce1706/lib/rules/no-unsupported-features/node-builtins.js'
npm WARN tar ENOENT: no such file …Run Code Online (Sandbox Code Playgroud)