Open noob2020-alt opened 2 months ago
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/
Sounds like the UI components are not building and completing.
Can you run python3 server.py --fresh --insecure --build
and provide full stacktrace?
Apologies for the delay. Here is the output:
I tried to troubleshoot the errors, but was not successful.
And you are sure you have NodeJS v16 or higher?
Have the same error, running caldera from docker-compose
And you are sure you have NodeJS v16 or higher?
Sorry for the long delay. Yes I am sure I have it installed.
I am going to try and rebuild the VM again and try again, but this is an issue
I was having this issue also. I tried option B first, but Option A fixed it for me, after some troubleshooting with ChatGPT, I got this answer:
The issue you're encountering is related to the Node.js version installed on your system. The warnings indicate that several packages require a newer version of Node.js than the one currently installed (
v12.22.9`). Specifically, many of the packages require at least Node.js version 14, 16, or 18.
To resolve these warnings and ensure compatibility with the packages you are trying to install, you should upgrade Node.js to a more recent version. Here's how you can do that:
Option A: Using Node Version Manager (NVM)
NVM is a tool that allows you to manage multiple versions of Node.js on your system.
If you don't have NVM installed, you can install it by running:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
After installation, load NVM into your shell session:
source ~/.nvm/nvm.sh
Install the latest LTS (Long Term Support) version of Node.js:
nvm install --lts
You can switch to the newly installed version using:
nvm use --lts
Option B: Direct Installation
Alternatively, you can install or upgrade Node.js directly by downloading it from the official website or using a package manager like apt
for Ubuntu:
sudo apt-get update
sudo apt-get install -y nodejs npm
This method might not give you the latest version, so using NVM is generally recommended.
After upgrading, verify the Node.js and npm versions:
node -v
npm -v
Ensure that the Node.js version is at least 14 or higher.
npm install @vue/compiler-sfc --save-dev
npm run build
python3 server.py --fresh --insecure --build
Upgrading Node.js should eliminate the EBADENGINE
warnings and allow your project dependencies to install and function correctly.
Please forgive me as I am new to setting this up. I have tried to connect to caldera through various steps and I think I at the final point, but can't get the web UI working. I get the Template index not found.
Info that may be of use:
Running VM on ESXi 8 Ubuntu 22.04 LTS (Jammy Jellyfish) 16 GM ram 1 TB storage (thin provisioned)
So far I have used the posts in this issues thread to fix various errors I have encountered which has been helpful.
My steps:
Due to being a fresh Ubuntu 22.04 instal I had to add some dependencies for the issues I saw when trying to install Caldera on Ubuntu 24.04.
Installed upon first boot: python3-pip
golang ( I found this on stack overflow) sudo add-apt-repository ppa:longsleep/golang-backports sudo apt update sudo apt install golang-go
npm pip3 install docker, donut snap install vue pip3 install cryptography, openssl version (found in the issues thread)
This got the program running ok on the cli, but the webpage there is an issue.
Once I managed to narrow down the errors and install the appropriate fixes, I did the following:
rm -r conf/local.yml python3 server.py --fresh
NOTE I attempted the --insecure --build command first.
Since there were not errors, I went to the web UI and went to the webpage:
http://127.0.0.1:8888 -- output Template 'index.html' not found
I then saw a thread about changing the .env file in the magma folder.
I did this and rebooted system.
python3 server.py --build ## to attempt to rebuild the server:
I did the command npm i vue@3.2.26. - to address the issue with vue npm audit fix force -- to resolve the vulnerabilities found when compiling vue.
npm is installed and I attempted to try again by changing the npm to pnpm (saw this in the issue thread.).
Still not able to get a webpage.
I am not sure what I am doing wrong.