上传我的 google chrome 扩展程序时出错

lov*_*sql 8 google-chrome google-chrome-extension

嘿伙计们,我计划上传我的谷歌浏览器。

根据文档,我已将整个文件制作为 zip 格式,并将其manifest.json放在根目录中。

但是当我选择文件并将其上传到网上商店时,它显示错误,例如

An error occurred: Failed to process your item. Invalid package. Please make sure it is a valid zip file and the file manifest.json is at the root directory of the zip package.

谁能告诉我为什么会变成这样???

任何帮助将不胜感激..提前谢谢

Rem*_*jwa 13

我今天遇到了这个问题。我的问题似乎源于新的 MacOS 更新。首先,我尝试使用 Mac 的内置拉链进行压缩,这在 Chrome Webstore 上不断提示我缺少 manifest.json 文件。

然后我将其在线压缩,然后可以轻松地将其上传到 Chrome 网上应用店。


Anh*_*INH 11

我也遇到同样的问题,是Mac默认压缩器的问题。您可以使用以下命令来压缩构建的文件夹,

cd dist/ # where the extension stored
zip -r dist.zip *
Run Code Online (Sandbox Code Playgroud)


lov*_*sql 2

好吧,问题实际上出在 winrar 上。我已经删除了该应用程序,只是使用默认压缩。现在可以正常上传了