Hello @jamesm671
You cannot skip a single step here. Make sure to do all steps Setup Express.js Application on CyberPanel/OpenLiteSpeed
Create a website, install nodejs and setup your nodejs app within that website - Go to Cyberpanel → Websites → List Websites → Click the website/domain you want to setup a website → Click on File Manager
Some gotchas
After really messing around with all the options i could take there should be a caveat that: Do not install your own opinionated nodejs version when setting it up for the first time
I updated cyberpanel to latest commit
I installed nodejs as instructed here
I setup my app
Used the n module to upgrade node with a chance for me to fallback to old node
sudo npm cache clean -f
sudo npm install -g n
sudo n latest
## skip this part for almalinux/centos/rockylinux
sudo apt-get install --reinstall n…
Hello I made an Express JS app with Node Js 16
The index file is
const express = require('express');
const app = express();
const port = 3000;
app.get('/', (req, res) => res.send('Hello World!'))
app.listen(port, () => console.log(`Example app listening on port ${port}!`))
This app work but if I convert it to ES6 app and the file will look like this then
import express from 'express';
const app = express();
const port = 3000;
app.get('/', (req, res) => res.send('Hello World!'))
app.lis…