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

i can't run the Caldera server #3051

Open
AshSecThor opened this issue Sep 17, 2024 · 4 comments
Open

i can't run the Caldera server #3051

AshSecThor opened this issue Sep 17, 2024 · 4 comments
Assignees
Labels

Comments

@AshSecThor
Copy link

after starting the command
┌──(kali㉿kali)-[~/caldera]
└─$ python3 server.py --insecure --build
i've get this warning message

2024-09-17 08:44:26 WARNING --insecure flag set. Caldera will use the default user accounts in default.yml config file. server.py:226
INFO Using main config from conf/default.yml server.py:235
2024-09-17 08:44:27 INFO Setting VueJS environment file. server.py:151
INFO Building VueJS front-end. server.py:273
Traceback (most recent call last):
File "/home/kali/caldera/server.py", line 274, in
subprocess.run(["npm", "install"], cwd=MAGMA_PATH, check=True)
File "/usr/lib/python3.11/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.11/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npm'

Capture d'écran 2024-09-17 085756

Copy link

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

@lpinder
Copy link

lpinder commented Sep 19, 2024

also getting this error.

@AshSecThor
Copy link
Author

I found the solution by installing nodejs using : sudo apt-get install nodejs npm

@lpinder
Copy link

lpinder commented Sep 19, 2024

YES! thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants