-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Description
Running npm run setup-https fails with a MODULE_NOT_FOUND error because the path to the ssl.js module is incorrect:
Error: Cannot find module './config/ssl'
This happens because setup-https.js is located in the scripts/ directory, but it's trying to import ../config/ssl.js using a relative path that only works when run from the root.
Suggested Fix
In backend/scripts/setup-https.js, replace:
const { generateCertificate } = require('./config/ssl');with:
const { generateCertificate } = require('../config/ssl');This ensures the script works even if run from a different working directory.
Let me know if you'd like to add screenshots or logs as well.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request