pm2 code: 'ERR_REQUIRE_ESM' trouble
pm2, typescript, javascript, ESM
If your
package.json
files containstype:modules
u have to useecosystem.config.cjs
insteadecosystem.config.js
// ecosystem.config.cjs
module.exports = {
apps: [
{
name: "notion-server",
script: "./out/app.js",
watch: true,
},
],
}
PreviousRegex ile string icerisindeki uzun metni parcalara bolmekNextNotion Integration olusturmak; database ve sayfalari yonetmek
Last updated
Was this helpful?