# Node app deployment

**URL:** <https://answers.netlify.com/t/node-app-deployment/26015>\
**Category:** Support\
**Tags:** deployment\
**Created:** [November 9, 2020, 3:06pm UTC](https://answers.netlify.com/t/node-app-deployment/26015 "2020-11-09T15:06:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thib21](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/thib21/32/10784_2.png) [@Thib21](https://answers.netlify.com/u/Thib21)\
**Post date:** [November 9, 2020, 3:06pm UTC](https://answers.netlify.com/t/node-app-deployment/26015/1 "2020-11-09T15:06:30Z")

</div>

I tried to deploy this node.js app but I have this error message.

I tried and push it on my github repo. But still has this error. I don’t understand. Someone can help me please ? What should I put in Build script ?

## ![Capture d’écran (623)](https://global.discourse-cdn.com/netlify/original/3X/c/e/ce5912c85454c3872ecc1f91f93ef8278ce49aa3.png)

Here my package.json file :

```
{

```

“name”: “chatroom-server”,  
“version”: “1.0.0”,  
“description”: “”,  
“main”: “server.js”,  
“scripts”: {  
“start”: “node server.js”,  
“build”: “netlify-lambda build express”  
},  
“engines”: {  
“node”:“12.19.0”  
},  
“keywords”: ,  
“author”: “”,  
“license”: “ISC”,  
“dependencies”: {  
“body-parser”: “^1.19.0”,  
“compression”: “^1.7.4”,  
“express”: “^4.17.1”,  
“helmet”: “^4.2.0”,  
“[socket.io](http://socket.io)”: “^2.3.0”  
}  
}

---

<div class="post-metadata">

**Author:** ![AaronP](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/aaronp/32/14904_2.png) [@AaronP](https://answers.netlify.com/u/AaronP)\
**Post date:** [November 9, 2020, 3:55pm UTC](https://answers.netlify.com/t/node-app-deployment/26015/2 "2020-11-09T15:55:47Z")

</div>

Hey, Netlify is JAMStack - [https://jamstack.org/](https://jamstack.org/) meaning that you can’t run a traditional node server here nor a database. You can now use serverless functions to achieve similar but it is not really the design as netlify is intended to serve static sites. If you are looking to serve a traditional nodejs server I think Heroku could be better suited.

Here are some examples although they may be a tad outdated.

> **[GitHub - neverendingqs/netlify-express: Express.js hosted on Netlify](https://github.com/neverendingqs/netlify-express)**
>
> Express.js hosted on Netlify. Contribute to neverendingqs/netlify-express development by creating an account on GitHub.

> **[How to run Express.js apps with Netlify Functions](https://www.netlify.com/blog/2018/09/13/how-to-run-express.js-apps-with-netlify-functions/)**
>
> Learn how to use the popular node express.js framework with functions on Netlify.

---

<div class="post-metadata">

**Author:** ![Thib21](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/thib21/32/10784_2.png) [@Thib21](https://answers.netlify.com/u/Thib21)\
**Post date:** [November 10, 2020, 8:41am UTC](https://answers.netlify.com/t/node-app-deployment/26015/3 "2020-11-10T08:41:00Z")

</div>

Thank you @AaronP! I wasn’t sure about that so thank you for this confirmation!
