gpt4 book ai didi

node.js - 压缩警告 : missing end signature when zipping a directory

转载 作者:行者123 更新时间:2023-12-02 00:03:17 25 4
gpt4 key购买 nike

我正在运行 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com