Developer Chrome extension: Package is invalid. Details: "Could not uzip extension'

前端 未结 3 1080
走了就别回头了
走了就别回头了 2021-01-13 12:34

I have developed a chrome extension. I made some small updates, and suddely the extension can\'t be installed through chrome web-store. I get the error

Packa

3条回答
  •  猫巷女王i
    2021-01-13 12:54

    Sometimes this can happen because the extension was created on OS X or Linux, and contains a file whose name is illegal in Windows. See this issue for more details.

    The list given in the bug comes from MSDN, which says:

    Do not use the following reserved names for the name of a file: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension; for example, NUL.txt is not recommended.

    So for instance, on Windows, you cannot have a file named "aux.css" or "aux.html".

提交回复
热议问题