作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在运行 zip -r nm.zip node_modules
并收到此错误:
zip warning: missing end signature--probably not a zip file (did you
zip warning: remember to use binary mode when you transferred it?)
zip warning: (if you are trying to read a damaged archive try -F)
node_modules 是一个目录。我在一个 docker 容器内,在大厅内执行此操作。
最佳答案
这意味着 zip
需要一个登陆 zip 文件名,为压缩版本提供一个文件名:
zip myfile.zip myfile
关于node.js - 压缩警告 : missing end signature when zipping a directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61476359/
我是一名优秀的程序员,十分优秀!