Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 部署时报错:Input buffer has corrupt header: glib: XML parse error: EntityRef: expecting ';' #26

Closed
ukea opened this issue Jan 10, 2024 · 6 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@ukea
Copy link

ukea commented Jan 10, 2024

I feel terribly sorry to bother you.
I met an error when delpoy my base, but do not know how to fix it.
It may be related to sharp. Can you help me?
Great Appreciation!

[Error: Input buffer has corrupt header: glib: XML parse error: Error domain 1 code 23 on line 35 column 157 of data: EntityRef: expecting ';']

image

Solution I found attached:
https://stackoverflow.com/questions/23422316/xml-validation-error-entityref-expecting
image

lovell/sharp#2420
image

@nekomeowww nekomeowww added bug Something isn't working help wanted Extra attention is needed labels Jan 10, 2024
@nekomeowww
Copy link
Member

I feel terribly sorry to bother you.
It may be related to sharp. Can you help me?
Great Appreciation!

Yes, sure! Feel free to ask.

This is quite interesting. Let me open up a Windows-based pipeline to test this out.

@nekomeowww nekomeowww changed the title 部署时报错:Input buffer has corrupt header: glib: XML parse error: EntityRef: expecting ';' bug: 部署时报错:Input buffer has corrupt header: glib: XML parse error: EntityRef: expecting ';' Jan 10, 2024
@nekomeowww nekomeowww removed the help wanted Extra attention is needed label Jan 10, 2024
@nekomeowww
Copy link
Member

Sorry but I cannot reproduce this problem on my Windows machine with Nolebase, but I will try to pull your knowledge base to local directory and try again to create a triage for you for further investigation.

Anyway, I've written a complete new guidelines for Windows users to setup their projects on this commit f89b5e4, maybe you can double check on this to make sure nothing get wrong before going any deeper.

@nekomeowww
Copy link
Member

image

I tried with your repository and the building process is fine.

What is your Node.js, pnpm.js, Python versions? Perhaps I can create an environment exactly the same for triage.

@nekomeowww nekomeowww added help wanted Extra attention is needed question Further information is requested and removed bug Something isn't working labels Jan 12, 2024
@nekomeowww
Copy link
Member

Closed due to stale.

@nekomeowww
Copy link
Member

Related:

image

Originally posted by @jiechen257 in #36 (comment)

@nekomeowww nekomeowww reopened this Mar 5, 2024
@nekomeowww nekomeowww added the bug Something isn't working label Mar 5, 2024
@nekomeowww nekomeowww self-assigned this Mar 5, 2024
@luoling8192
Copy link

It cause by NodeJS LTS version.

Solution: Upgrade NodeJS version to 21 or later

This Issue might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants