V13 Create New Website Theme Error

Hi,
I’ve manually installed v13 in Production and when I go to create a custom website theme I get this error when trying to save the theme.

Server Error

FileNotFoundError: [Errno 2] No such file or directory: ‘node’

Does anyone know a fix for this please?

Hi, I encountered a similar error. I was using node version manager(nvm) and it places node in this address(/home/myusername/.nvm/versions/node/v14.19.3/bin/node). You can see where node is by running “which node”. But ERPnext was looking for node in /usr/bin. So I solved that error by moving my node to /usr/bin . I did the following commands:

  1. cd /home/myusername/.nvm/versions/node/v14.19.3/bin/
  2. sudo mv node /usr/bin
    when you run “which node”, you should get /usr/bin/node
    I am not sure if this move will have other implications but it got things running for me.
2 Likes

Thank you this helped