Report this

What is the reason for this report?

Can not start Nestjs Application on Ubuntu

Posted on July 27, 2022

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.



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.