node.jsexpressdeploymentcpanel

cpanel node.js Can't acquire lock for app: app


i am trying to deploy a node.js app. after creating and installing modules using cpanel interface. when i run script, i get this error: Can't acquire lock for app: app. any idea?


Solution

  • Remove .lock file at source /home/<repo>/nodevenv/node/. Additionally, before executing npm install, you need to stop the application.