问题描述
我正在使用 web-ext 签署插件,但我总是收到相同的错误消息:
A content script defined in the manifest could not be found.
Error: Content script defined in the manifest could not be found at "node_modules/jquery/dist/jquery.min.js".
我已经尝试使用 manifest.json file
更改 ./
中的路径,例如:
"content_scripts": [
{
"matches": ["*://*/*"],"js": [
"./node_modules/jquery/dist/jquery.min.js"
]
}
]
但是该消息一直出现,并且它忽略了 ./
,因为该消息一直在抱怨 could not be found at "node_modules/...
。
不确定是否有办法清除 web-ext 缓存。或者我做错了什么来包含这样的脚本。问题似乎出在 node_modules 脚本上。
提前致谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)