Thursday, 1 June 2017

Trouble setting up Node.js application on production server from Github repo

I am trying to setup my Node.js application on production server, but after I run command: sudo npm install --production I am keep getting an error:

npm ERR! ENOTEMPTY: directory not empty, rename '/var/www/movicritRepo/code/nodejsAPI/node_modules/express-session' -> '/var/www/movicritRepo/code/nodejsAPI/node_modules/.express-session.DELETE'

My directory is a Github cloned repository. When I use ls -l command on node_modules there is no express-session map. I am really stuck here... Can anyone help me please? Thank you in beforehand.



via Luki

No comments:

Post a Comment