JaeYeopHan / gatsby-remark-link-card

⛳️ Gatsby Remark plugin to embed card about link. Just write markdown syntax with your delimeter and build! puppeter gather data!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Once the target page without 'shortcut icon', the plugin will fail to get the page info.

frannnnk opened this issue · comments

Once the target page without 'shortcut icon', the plugin will fail to get the page info.

Error: Error: failed to find element matching selector "link[rel='shortcut icon']" at ElementHandle.$eval (/Users/frankshi/Git/frankweb2020/node_modules/puppeteer/lib/JSHandle.js:477:13) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Promise.all (index 3) at async getPageData (/Users/frankshi/Git/frankweb2020/node_modules/gatsby-remark-link-card/index.js:58:9) at async /Users/frankshi/Git/frankweb2020/node_modules/gatsby-remark-link-card/index.js:132:22 at async Promise.all (index 4) at async module.exports (/Users/frankshi/Git/frankweb2020/node_modules/gatsby-remark-link-card/index.js:144:5) at async transformer (/Users/frankshi/Git/frankweb2020/node_modules/gatsby-plugin-mdx/utils/get-source-plugins-as-remark-plugins.js:59:11)