Я пытался установить L3MON на сервер Ubuntu 22.04, следуя документации.
https://github.com/D3VL/L3MON
точно, однако я всегда получаю этот результат, я не модифицировал файлы и хешировал файлы при загрузке, чтобы убедиться, что ничего не изменилось
Сообщение об ошибке
SyntaxError: Unexpected identifier in /home/user/assets/views/login.ejs while compiling ejs
If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
at new Function (<anonymous>)
at Template.compile (/home/user/node_modules/ejs/lib/ejs.js:673:12)
at Object.compile (/home/user/node_modules/ejs/lib/ejs.js:398:16)
at handleCache (/home/user/node_modules/ejs/lib/ejs.js:235:18)
at tryHandleCache (/home/user/node_modules/ejs/lib/ejs.js:274:16)
at exports.renderFile [as engine] (/home/user/node_modules/ejs/lib/ejs.js:491:10)
at View.render (/home/user/node_modules/express/lib/view.js:135:8)
at tryRender (/home/user/node_modules/express/lib/application.js:640:10)
at Function.render (/home/user/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/home/user/node_modules/express/lib/response.js:1012:7)
javascript pm2 бесплатно-22.04