You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem is encountered when executing the yarn develop command. It is the same in both Mac and window environments. Has anyone ever encountered this problem?
#66
Open
18337588370 opened this issue
Jun 24, 2022
· 2 comments
It is like that BS cannot be generated The files in the JS type file components also cannot generate bs JS file, so the package fails. The platform environment is good
ERROR Failed to apply patch for package html2canvas at path
node_modules/html2canvas
This error was caused because html2canvas has changed since you
made the patch file for it. This introduced conflicts with your patch,
just like a merge conflict in Git when separate incompatible changes are
made to the same piece of code.
Maybe this means your patch file is no longer necessary, in which case
hooray! Just delete it!
Otherwise, you need to generate a new patch file.
To generate a new one, just repeat the steps you made to generate the first
one.
i.e. manually make the appropriate file changes, then run
patch-package html2canvas
Info:
Patch file: patches/html2canvas+1.0.0-rc.5.patch
Patch was made for version: 1.0.0-rc.5
Installed version: 1.4.1
Your site's "gatsby-node.js" created a page with a component that doesn't exist.
The path to the missing component is "C:\Users\lishuaibing\Desktop\avatar-generator\src\pages\page_404.bs.js"
The page object passed to createPage:
{
"path": "404",
"component": "C:\Users\lishuaibing\Desktop\avatar-generator\src\pages\page_404.bs.js"
}
See the documentation for the "createPage" action — https://www.gatsbyjs.org/docs/actions/#createPage
not finished createPages - 0.043s
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: