create-10k-nft-collection icon indicating copy to clipboard operation
create-10k-nft-collection copied to clipboard

[Bug]: IMAGES NOT GENERATING

Open Tdawg007 opened this issue 3 years ago • 2 comments

Version

  • [X] Yes

General Question

  • [X] 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

> [email protected] 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

  • [X] I Agree

Tdawg007 avatar Aug 23 '22 21:08 Tdawg007

Use npm i that should install everything you need,

CryptoLyin avatar Aug 25 '22 16:08 CryptoLyin

no, that did not help

Tdawg007 avatar Sep 01 '22 22:09 Tdawg007