Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkdirp is not a function #45

Open
ATButteaux opened this issue Aug 3, 2023 · 0 comments
Open

mkdirp is not a function #45

ATButteaux opened this issue Aug 3, 2023 · 0 comments

Comments

@ATButteaux
Copy link

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):

  • OS:
$ lsb_release -a 
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 23.04
Release:	23.04
Codename:	lunar

Additional context

$ npm install emanator@latest
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: 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 [email protected]: 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 (<anonymous>)
    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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant