draftbit / avatar-generator

Personas, an avatar generator by Draftbit

Home Page:https://personas.draftbit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

18337588370 opened this issue · comments

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.

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

I have same issue, and when i run 'npx patch-package' will got:

➜ avatar-generator git:(master) npx patch-package
patch-package 8.0.0
Applying patches...

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


patch-package finished with 1 error(s).