Я хочу попробовать запустить вот этот код у себя на компьютере и посмотреть как он работает.
https://github.com/HashLips/generative-art-node
Я скачал zip архив распаковал его.
Выдаёт в конце такую ошибку errno:2
PS C:\Users\Home\Desktop\generative-art-node-main> npm run build
> art_generator@1.0.0 build
> node index.js
(node:8068) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true })
will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Creating edition 1
Creating edition 2
Creating edition 3
Creating edition 4
Creating edition 5
Creating edition 6
Creating edition 7
Creating edition 8
Creating edition 9
Creating edition 10
Creating edition 11
Creating edition 12
Creating edition 13
Creating edition 14
Creating edition 15
Creating edition 16
Creating edition 17
Creating edition 18
Creating edition 19
Creating edition 20
Creating edition 21
Creating edition 22
Creating edition 23
Creating edition 24
Creating edition 25
Creating edition 26
Creating edition 27
Creating edition 28
Creating edition 29
Creating edition 30
Creating edition 31
Creating edition 32
Creating edition 33
Creating edition 34
Creating edition 35
Creating edition 36
Creating edition 37
Creating edition 38
Creating edition 39
Duplicate creation for edition 40. Same as edition 18
Creating edition 40
Creating edition 41
Duplicate creation for edition 42. Same as edition 36
Creating edition 42
Creating edition 43
Creating edition 44
Creating edition 45
Creating edition 46
Creating edition 47
Creating edition 48
Creating edition 49
Duplicate creation for edition 50. Same as edition 17
Creating edition 50
C:\Users\Home\Desktop\generative-art-node-main\node_modules\canvas\lib\image.js:91
SetSource.call(img, src)
^
Error: ENOENT, No such file or directory 'C:\Users\Home\Desktop\generative-art-node-main/layers/background/ball'
at setSource (C:\Users\Home\Desktop\generative-art-node-main\node_modules\canvas\lib\image.js:91:13)
at Image.set (C:\Users\Home\Desktop\generative-art-node-main\node_modules\canvas\lib\image.js:62:9)
at C:\Users\Home\Desktop\generative-art-node-main\node_modules\canvas\index.js:34:15
at new Promise ()
at loadImage (C:\Users\Home\Desktop\generative-art-node-main\node_modules\canvas\index.js:23:10)
at drawLayer (C:\Users\Home\Desktop\generative-art-node-main\src\main.js:117:25)
at C:\Users\Home\Desktop\generative-art-node-main\src\main.js:136:12
at Array.forEach ()
at createFiles (C:\Users\Home\Desktop\generative-art-node-main\src\main.js:135:17)
at C:\Users\Home\Desktop\generative-art-node-main\index.js:8:3 {
errno: 2,
code: 'ENOENT',
path: 'C:\\Users\\Home\\Desktop\\generative-art-node-main/layers/background/ball',
syscall: 'fopen'