Quand je mets npm run buid sa ne fonctionne pas et sa me mets sa :
art_generator@1.0.0 build /Users/redouanedrici/Desktop/generative-art-node-main node index.js
(node:3184) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, scandir '/Users/redouanedrici/Desktop/generative-art-node-main/layers/background/'
at Object.readdirSync (fs.js:1048:3)
at getElements (/Users/redouanedrici/Desktop/generative-art-node-main/src/main.js:46:6)
at /Users/redouanedrici/Desktop/generative-art-node-main/src/main.js:63:15
at Array.map (<anonymous>)
at layersSetup (/Users/redouanedrici/Desktop/generative-art-node-main/src/main.js:59:30)
at createFiles (/Users/redouanedrici/Desktop/generative-art-node-main/src/main.js:131:18)
at /Users/redouanedrici/Desktop/generative-art-node-main/index.js:8:3
at Object.<anonymous> (/Users/redouanedrici/Desktop/generative-art-node-main/index.js:10:3)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
(Use node --trace-warnings ...
to show where the warning was created)
(node:3184) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3184) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Pouvez-vous m'aidez?