Question

Can not start Nestjs Application on Ubuntu

I run npm run start:dev then it’s hanging In the local macbook is working fine. [12:10:09 PM] Starting compilation in watch mode…

[12:10:19 PM] Found 0 errors. Watching for file changes.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
August 28, 2022

Hi there,

I could suggest a few thins:

  • Make sure that you’ve installed your dependencies:
npm install
  • Make sure that you are running the same npm and node versions on your server as the ones that you have installed on your local development environment:

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04

Let me know how it goes once the Node version matches!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up