# Why does serverless framework not include package.json for aws-nodejs template

**URL:** <https://forum.serverless.com/t/why-does-serverless-framework-not-include-package-json-for-aws-nodejs-template/17407>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [July 17, 2022, 1:58am UTC](https://forum.serverless.com/t/why-does-serverless-framework-not-include-package-json-for-aws-nodejs-template/17407 "2022-07-17T01:58:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kennethjaysone](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/kennethjaysone/32/2075_2.png) [@kennethjaysone](https://forum.serverless.com/u/kennethjaysone)\
**Post date:** [July 17, 2022, 1:58am UTC](https://forum.serverless.com/t/why-does-serverless-framework-not-include-package-json-for-aws-nodejs-template/17407/1 "2022-07-17T01:58:53Z")

</div>

When trying to create a new serverless project using the cli

```
sls create -t aws-nodejs -p testfolder

```

Serverless framework creates:

1. handler.js
2. serverless.yml
3. .gitignore

Why doesn’t a package.json be included and also why is only a package-lock.json file created / generated when installing npm packages e.g lodash

Running the following:

```auto
npm install --save lodash

```

only creates a node\_module folder and a package-lock.json file. There is no package.json file. Trying to understand why as this is not the case with:

```auto
sls create -t aws-nodejs-typescript -p test

```

```auto
nvm: 0.39.1
node: v14.19.3
npm: 6.14.17

sls

Framework Core: 3.21.0
Plugin: 6.2.2
SDK: 4.3.2

```

Thank you for taking the time to read this.
