Static GitHub Issues

[670] Cannot deploy on an alternative server

prev: Force parent page to refresh
next: vue packages version mismatch is not an Error

I am trying to deploy on a VPS, it needs to be that particular VPS because of server location so I cannot use Cosmic JS or heroku.

I am not able to set up a post-receive hook yet (all advices from here failed) so I am looking for an alternative way.

I have been trying to start the application directly from the DocumentRoot as well but npm start keeps crashing although I've got the dependencies all right

[xxxxx public_html]$ npm start

> @ start /var/www/xxxxxxxxx/public_html
> nuxt start

sh: nuxt: command not found

npm ERR! Linux 2.6.32-042stab123.1
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.10.1
npm ERR! npm  v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @ start: `nuxt start`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @ start script 'nuxt start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     nuxt start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls

�
{
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /var/www/xxxxxxx.net/public_html/npm-debug.log

I also understand I cannot use nuxt generate to get a static deployment into /dist/ because I would have to manually declare the permalinks for dynamically generated sites https://nuxtjs.org/api/configuration-generate/

Is there a documented step by step way to deploy nuxt app to a server manually?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c578">#c578</a>)</em></sub></div>