(node:2225820) Warning: Failed to load the ES module: /home/asnsuper/si-phpk/index.cjs. Make sure to set "type": "module" in the nearest package.json file or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/home/asnsuper/si-phpk/index.cjs:1
import { createRequire } from 'module';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at wrapSafe (node:internal/modules/cjs/loader:1804:18)
    at Module._compile (node:internal/modules/cjs/loader:1846:20)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:53:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:18:1)

Node.js v24.19.0
file:///home/asnsuper/si-phpk/index.js:1
require('./.output/server/index.mjs');
^

ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/home/asnsuper/si-phpk/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
    at file:///home/asnsuper/si-phpk/index.js:1:1
    at ModuleJobSync.runSync (node:internal/modules/esm/module_job:543:37)
    at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:343:47)
    at loadESMFromCJS (node:internal/modules/cjs/loader:1690:24)
    at Module._compile (node:internal/modules/cjs/loader:1854:5)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)

Node.js v24.19.0
file:///home/asnsuper/si-phpk/.output/server/index.mjs:1
var http = require('http');
           ^

ReferenceError: require is not defined in ES module scope, you can use import instead
    at file:///home/asnsuper/si-phpk/.output/server/index.mjs:1:12
    at ModuleJob.run (node:internal/modules/esm/module_job:439:25)
    at async node:internal/modules/esm/loader:643:26

Node.js v24.19.0
file:///home/asnsuper/si-phpk/.output/server/index.mjs:1
var http = require('http');
           ^

ReferenceError: require is not defined in ES module scope, you can use import instead
    at file:///home/asnsuper/si-phpk/.output/server/index.mjs:1:12
    at ModuleJob.run (node:internal/modules/esm/module_job:439:25)
    at async node:internal/modules/esm/loader:643:26

Node.js v24.19.0
file:///home/asnsuper/si-phpk/.output/server/index.mjs:1
var http = require('http');
           ^

ReferenceError: require is not defined in ES module scope, you can use import instead
    at file:///home/asnsuper/si-phpk/.output/server/index.mjs:1:12
    at ModuleJob.run (node:internal/modules/esm/module_job:439:25)
    at async node:internal/modules/esm/loader:643:26

Node.js v24.19.0
file:///home/asnsuper/si-phpk/.output/server/index.mjs:1
var http = require('http');
           ^

ReferenceError: require is not defined in ES module scope, you can use import instead
    at file:///home/asnsuper/si-phpk/.output/server/index.mjs:1:12
    at ModuleJob.run (node:internal/modules/esm/module_job:439:25)
    at async node:internal/modules/esm/loader:643:26

Node.js v24.19.0
Forgot Password Error: Error: Invalid login: 535 Incorrect authentication data
    at SMTPConnection._formatError (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:938:19)
    at SMTPConnection._actionAUTHComplete (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1784:34)
    at SMTPConnection.<anonymous> (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:669:26)
    at SMTPConnection._processResponse (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1150:20)
    at SMTPConnection._onData (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:898:14)
    at SMTPConnection._onSocketData (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:224:44)
    at TLSSocket.emit (node:events:509:28)
    at addChunk (node:internal/streams/readable:563:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
    at Readable.push (node:internal/streams/readable:394:5) {
  code: 'EAUTH',
  response: '535 Incorrect authentication data',
  responseCode: 535,
  command: 'AUTH PLAIN'
}
Forgot Password Error: Error: Mail command failed: 501 <asnsuper>: sender address must contain a domain
    at SMTPConnection._formatError (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:938:19)
    at SMTPConnection._actionMAIL (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1812:34)
    at SMTPConnection.<anonymous> (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1261:18)
    at SMTPConnection._processResponse (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1150:20)
    at SMTPConnection._onData (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:898:14)
    at SMTPConnection._onSocketData (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:224:44)
    at TLSSocket.emit (node:events:509:28)
    at addChunk (node:internal/streams/readable:563:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
    at Readable.push (node:internal/streams/readable:394:5) {
  code: 'EENVELOPE',
  response: '501 <asnsuper>: sender address must contain a domain',
  responseCode: 501,
  command: 'MAIL FROM'
}
Forgot Password Error: Error: Mail command failed: 501 <asnsuper>: sender address must contain a domain
    at SMTPConnection._formatError (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:938:19)
    at SMTPConnection._actionMAIL (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1812:34)
    at SMTPConnection.<anonymous> (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1261:18)
    at SMTPConnection._processResponse (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:1150:20)
    at SMTPConnection._onData (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:898:14)
    at SMTPConnection._onSocketData (/home/asnsuper/si-phpk/server/node_modules/nodemailer/lib/smtp-connection/index.js:224:44)
    at TLSSocket.emit (node:events:509:28)
    at addChunk (node:internal/streams/readable:563:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
    at Readable.push (node:internal/streams/readable:394:5) {
  code: 'EENVELOPE',
  response: '501 <asnsuper>: sender address must contain a domain',
  responseCode: 501,
  command: 'MAIL FROM'
}
