$ npm install emanator@latest
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 222 packages in 2s
25 packages are looking for funding
run npm fund for details
[19:09:38] selecting go version go1.16.0
/home/trash/Downloads/kdx/node_modules/emanator/lib/modules/go.js:93
mkdirp(folder);
^
TypeError: mkdirp is not a function
at /home/trash/Downloads/kdx/node_modules/emanator/lib/modules/go.js:93:4
at new Promise ()
at Object.go (/home/trash/Downloads/kdx/node_modules/emanator/lib/modules/go.js:87:10)
at /home/trash/Downloads/kdx/kdx/.emanate:59:28
at /home/trash/Downloads/kdx/kdx/.emanate:301:3
at Emanate.emanate (/home/trash/Downloads/kdx/node_modules/emanator/emanate:148:70)
at Emanate.main (/home/trash/Downloads/kdx/node_modules/emanator/emanate:106:15)
Describe the bug Building results in error message "TypeError: mkdirp is not a fuction"
To Reproduce Follow build instructions.
Expected behavior No fatal error messages.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
$ npm install emanator@latest npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 222 packages in 2s
25 packages are looking for funding run
npm fund
for details$ git clone https://github.com/aspectron/kdx.git Cloning into 'kdx'... remote: Enumerating objects: 5655, done. remote: Counting objects: 100% (1366/1366), done. remote: Compressing objects: 100% (532/532), done. remote: Total 5655 (delta 834), reused 1346 (delta 822), pack-reused 4289 Receiving objects: 100% (5655/5655), 20.59 MiB | 11.99 MiB/s, done. Resolving deltas: 100% (3449/3449), done.
$ cd kdx/
$ find ~/Downloads/ -name emanate /home/trash/Downloads/kdx/node_modules/emanator/emanate /home/trash/Downloads/kdx/node_modules/.bin/emanate
$ /home/trash/Downloads/kdx/node_modules/emanator/emanate --all
|/ | \ \/
| \ |_/ /_
[19:09:38] selecting go version go1.16.0 /home/trash/Downloads/kdx/node_modules/emanator/lib/modules/go.js:93 mkdirp(folder); ^
TypeError: mkdirp is not a function at /home/trash/Downloads/kdx/node_modules/emanator/lib/modules/go.js:93:4 at new Promise ()
at Object.go (/home/trash/Downloads/kdx/node_modules/emanator/lib/modules/go.js:87:10)
at /home/trash/Downloads/kdx/kdx/.emanate:59:28
at /home/trash/Downloads/kdx/kdx/.emanate:301:3
at Emanate.emanate (/home/trash/Downloads/kdx/node_modules/emanator/emanate:148:70)
at Emanate.main (/home/trash/Downloads/kdx/node_modules/emanator/emanate:106:15)
Node.js v18.13.0