# Deploy the APIs

**URL:** <https://discourse.sst.dev/t/deploy-the-apis/121>\
**Category:** Chapter Comments\
**Created:** [May 9, 2018, 7:30pm UTC](https://discourse.sst.dev/t/deploy-the-apis/121 "2018-05-09T19:30:34Z")\
**Posts on this page:** 1\
**Showing post:** 82

<div class="post-metadata">

**Author:** ![prashanthashok](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/prashanthashok/32/575_2.png) [@prashanthashok](https://discourse.sst.dev/u/prashanthashok)\
**Post date:** [August 14, 2019, 1:00am UTC](https://discourse.sst.dev/t/deploy-the-apis/121/82 "2019-08-14T01:00:19Z")

</div>

If anyone faces this issue:

I did serverless deploy --verbose and kept getting the following error:

```
Serverless: 
WARNING: Entry for resources@undefined could not be retrieved.
Please check your service config if you want to use lib.entries.
Serverless: Removing /Users/prashanth/Development/Apps/scratch-that/scratch-that-api/.webpack
Serverless: Using multi-compile (individual packaging)
Unhandled rejection TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.relative (path.js:1171:5) 

```

In the previous chapter, we added CORS to API gateway and referenced that file in serverless.yml.

I accidentally indented resources by one space. I un-indented it and bam it deployed 🙂

> [@Need a hint ...Deploy Serverless Infrastructure](https://discourse.sst.dev/t/need-a-hint-deploy-serverless-infrastructure/397/5):
>
> Glad you figured it out.

---

_[View the full topic](https://discourse.sst.dev/t/deploy-the-apis/121)._
