# Npm run dev command does not enter the server

**URL:** <https://forum.serverless.com/t/npm-run-dev-command-does-not-enter-the-server/16601>\
**Category:** Serverless Framework\
**Created:** [January 25, 2022, 11:39am UTC](https://forum.serverless.com/t/npm-run-dev-command-does-not-enter-the-server/16601 "2022-01-25T11:39:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GIVANILDO](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@GIVANILDO](https://forum.serverless.com/u/GIVANILDO)\
**Post date:** [January 25, 2022, 11:39am UTC](https://forum.serverless.com/t/npm-run-dev-command-does-not-enter-the-server/16601/1 "2022-01-25T11:39:44Z")

</div>

I created my project, installed serverless and all the folders were created correctly, but when I give the npm run dev command to check the server an error appears.

---

<div class="post-metadata">

**Author:** ![Tdsone](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/tdsone/32/6531_2.png) [@Tdsone](https://forum.serverless.com/u/Tdsone)\
**Post date:** [January 25, 2022, 1:28pm UTC](https://forum.serverless.com/t/npm-run-dev-command-does-not-enter-the-server/16601/2 "2022-01-25T13:28:13Z")

</div>

Could you share the serverless.yml, you package.json and the exact error message?

---

<div class="post-metadata">

**Author:** ![GIVANILDO](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@GIVANILDO](https://forum.serverless.com/u/GIVANILDO)\
**Post date:** [January 25, 2022, 2:29pm UTC](https://forum.serverless.com/t/npm-run-dev-command-does-not-enter-the-server/16601/3 "2022-01-25T14:29:23Z")

</div>

I managed to solve. The problem was in the git integration that was missing.

---

<div class="post-metadata">

**Author:** ![GIVANILDO](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@GIVANILDO](https://forum.serverless.com/u/GIVANILDO)\
**Post date:** [January 25, 2022, 5:08pm UTC](https://forum.serverless.com/t/npm-run-dev-command-does-not-enter-the-server/16601/4 "2022-01-25T17:08:17Z")

</div>

```auto
Good afternoon

The whole problem with my project is that I am not able to correctly install serverless through the command
npm i -g serverless
does not complete the installation successfully.

```

 ![IMG_20220125_135905 (1).jpg](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/e/ece3a6f4c1545099be7005fa8967a272ddc67de7.jpeg)
