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]: images not generating #196

Open
3 tasks done
Tdawg007 opened this issue Aug 11, 2022 · 1 comment
Open
3 tasks done

[Bug]: images not generating #196

Tdawg007 opened this issue Aug 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Tdawg007
Copy link

Tdawg007 commented Aug 11, 2022

Version

  • Yes

General Question

  • No

What happened?

when i try to generate the test images after i install node js and did the npm i command, it gives me an error

What have you tried?

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

Relevant log output

> [email protected] generate
> node index.js

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '../build/Release/canvas.node'
Require stack:
- C:\Users\ \create-10k-nft-collection-2\node_modules\canvas\lib\bindings.js
- C:\Users\ \create-10k-nft-collection-2\node_modules\canvas\lib\canvas.js
- C:\Users\ \create-10k-nft-collection-2\node_modules\canvas\index.js
- C:\Users\ \create-10k-nft-collection-2\src\main.js
- C:\Users\ \create-10k-nft-collection-2\index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\bsks2\create-10k-nft-collection-2\node_modules\canvas\lib\bindings.js:3:18)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\ \\create-10k-nft-collection-2\\node_modules\\canvas\\lib\\bindings.js',
    'C:\\Users\\ \\create-10k-nft-collection-2\\node_modules\\canvas\\lib\\canvas.js',
    'C:\\Users\\ \\create-10k-nft-collection-2\\node_modules\\canvas\\index.js',
    'C:\\Users\\ \\create-10k-nft-collection-2\\src\\main.js',
    'C:\\Users\\ \\create-10k-nft-collection-2\\index.js'
  ]
}

Protect your information

  • I Agree
@Tdawg007 Tdawg007 added the bug Something isn't working label Aug 11, 2022
@Tdawg007
Copy link
Author

please 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
Projects
None yet
Development

No branches or pull requests

1 participant