Chrome extension warns “Cannot load extension with file or directory name Thumbs.db. The filename is illegal.”

后端 未结 4 865
深忆病人
深忆病人 2021-02-12 14:56

Whenever I use \"load unpacked\" to test my custom Chrome extension, I get an error:

There were warnings when trying to install this extension:

4条回答
  •  耶瑟儿~
    2021-02-12 15:20

    Open Windows 'Folder Options' and select the 'View' tab. Under 'Advanced Settings', select 'Show hidden files, folders, and drives' then select 'OK'.

    Doing this will show the Thumbs.db file inside the folder where you are keeping pictures/icons relevant to your extension. Delete it.

    To prevent creation of Thumbs.db again, I reckon, setting the folder type to 'General Items' should do the trick.

提交回复
热议问题