# Serverless aws-nodejs-typescript

**URL:** <https://forum.serverless.com/t/serverless-aws-nodejs-typescript/3126>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [November 16, 2017, 5:19am UTC](https://forum.serverless.com/t/serverless-aws-nodejs-typescript/3126 "2017-11-16T05:19:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piersmacdonald](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/piersmacdonald/32/1292_2.png) [@piersmacdonald](https://forum.serverless.com/u/piersmacdonald)\
**Post date:** [November 16, 2017, 5:19am UTC](https://forum.serverless.com/t/serverless-aws-nodejs-typescript/3126/1 "2017-11-16T05:19:39Z")

</div>

Hey there, I’m just dipping my toes into serverless as a prototype for a project at work. I’ve come into a Node.js shop from a C# background so I’m a huge typescript fan. Therefore I started with the `aws-nodejs-typescript` template. I’m just trying to deploy the scaffold project that the `serverless create` generates so I can see everything work end to end before I start coding. However I’m getting an error that says `serverless-webpack` is having a problem because it can’t find the module `webpack`. But that is defined in my `package.json`, any thoughts?

---

<div class="post-metadata">

**Author:** ![buggy](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/buggy/32/177_2.png) [@buggy](https://forum.serverless.com/u/buggy)\
**Post date:** [November 16, 2017, 6:12am UTC](https://forum.serverless.com/t/serverless-aws-nodejs-typescript/3126/2 "2017-11-16T06:12:57Z")

</div>

@piersmacdonald Did you run `npm install` from the folder that contains the `package.json`? If you have you should see a `node_modules` folder. If not then run `npm install` before `sls deploy`.

---

<div class="post-metadata">

**Author:** ![piersmacdonald](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/piersmacdonald/32/1292_2.png) [@piersmacdonald](https://forum.serverless.com/u/piersmacdonald)\
**Post date:** [November 16, 2017, 6:09pm UTC](https://forum.serverless.com/t/serverless-aws-nodejs-typescript/3126/3 "2017-11-16T18:09:36Z")

</div>

Derp.

Yes, that was it.

Sorry about that. As I mentioned, I’m from a .NET background where deploys trigger a build and builds trigger a package install. This isn’t the first time I’ve forgot to do those independently. I’ll catch on.

Thanks @buggy !
