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]: #65

Open
3 tasks done
lfjigu opened this issue May 10, 2022 · 0 comments
Open
3 tasks done

[Bug]: #65

lfjigu opened this issue May 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@lfjigu
Copy link

lfjigu commented May 10, 2022

Version

  • Yes

General Question

  • No

What happened?

Here is what I have done:

Fork and copy address
open my visual code studio
cd backend
npm i
then when I try to "npm run generate", I got this issue:

PS C:\Users\win、10\minter-dapp\minter-dapp\backend> npm run generate

minter-dapp-backend@0.0.2 generate
node index.js

C:\Users\win、10\minter-dapp\minter-dapp\backend\node_modules\canvas\lib\image.js:91
SetSource.call(img, src)
^

Error: EILSEQ, Illegal byte sequence 'C:\Users\win、10\minter-dapp\minter-dapp\backend/layers/Background/Orange.png'
at setSource (C:\Users\win、10\minter-dapp\minter-dapp\backend\node_modules\canvas\lib\image.js:91:13)
at Image.set (C:\Users\win、10\minter-dapp\minter-dapp\backend\node_modules\canvas\lib\image.js:62:9)
at C:\Users\win、10\minter-dapp\minter-dapp\backend\node_modules\canvas\index.js:34:15
at new Promise ()
at loadImage (C:\Users\win、10\minter-dapp\minter-dapp\backend\node_modules\canvas\index.js:23:10)
at C:\Users\win、10\minter-dapp\minter-dapp\backend\src\main.js:181:25
at new Promise ()
at loadLayerImg (C:\Users\win、10\minter-dapp\minter-dapp\backend\src\main.js:180:10)
at C:\Users\win、10\minter-dapp\minter-dapp\backend\src\main.js:361:31
at Array.forEach () {
errno: 42,
code: 'EILSEQ',
path: 'C:\Users\win、10\minter-dapp\minter-dapp\backend/layers/Background/Orange.png',
syscall: 'fopen'
}

What have you tried?

I Googled and asked the community in the discord server but could not find a solution.

Relevant log output

No response

Protect your information

  • I Agree
@lfjigu lfjigu added the bug Something isn't working label May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant