codeSTACKr/create-10k-nft-collection

[Bug]: IMAGES NOT GENERATING

Tdawg007 opened this issue · 2 comments

Version

  • Yes

General Question

  • No

What happened?

WHEN I TRY TO GENERAE IMAGES I GET 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

PS C:\Users\bsks2\create-10k-nft-collection-2> npm run generate

> 10k-collection-video@2.0.1 generate
> node index.js

node:internal/modules/cjs/loader:1189
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: \\?\C:\Users\bsks2\create-10k-nft-collection-2\node_modules\canvas\build\Release\canvas.node is not a valid Win32 application.
\\?\C:\Users\bsks2\create-10k-nft-collection-2\node_modules\canvas\build\Release\canvas.node
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
    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)
    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) {
  code: 'ERR_DLOPEN_FAILED'

Protect your information

  • I Agree

Use npm i
that should install everything you need,

no, that did not help