Cannot find module '@playwright/test' [line 1]

Describe the problem/error/question

in code node , get an error:

What is the error message (if any)?

before node is command node, excute npm list.

i have install the playwright,

I used pm2 to run the n8n.
below is config:

module.exports = {
apps : [{
name : “n8n”,
env: {

            VUE_APP_URL_BASE_API:"http://192.168.110.239:5678/",
            N8N_HOST:"192.168.110.239",
            N8N_PORT:"5678",
            N8N_PROTOCOL:"http",
            N8N_EDITOR_BASE_URL:"http://192.168.110.239:5678/",
            N8N_DIAGNOSTICS_ENABLED:"false",
            WEBHOOK_URL:"http://192.168.110.239:5678/",
            WEBHOOK_TUNNEL_URL:"http://192.168.110.239:5678/",
            NODE_FUNCTION_ALLOW_BUILTIN:"*",
            NODE_FUNCTION_ALLOW_EXTERNAL:"*"
    }
}]

}

Information on your n8n setup

  • **n8n version: 1.94.1
  • **Database (default: SQLite):default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):npm
  • **Operating system: **