# Severless stack guide issue: "Serverless: DOTENV: Could not find .env file."

**URL:** <https://forum.serverless.com/t/severless-stack-guide-issue-serverless-dotenv-could-not-find-env-file/12021>\
**Category:** Serverless Framework\
**Created:** [July 13, 2020, 11:17pm UTC](https://forum.serverless.com/t/severless-stack-guide-issue-serverless-dotenv-could-not-find-env-file/12021 "2020-07-13T23:17:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngot13](https://avatars.discourse-cdn.com/v4/letter/n/b4bc9f/32.png) [@ngot13](https://forum.serverless.com/u/ngot13)\
**Post date:** [July 13, 2020, 11:17pm UTC](https://forum.serverless.com/t/severless-stack-guide-issue-serverless-dotenv-could-not-find-env-file/12021/1 "2020-07-13T23:17:08Z")

</div>

I just started the serverless stack guide for building a serverless app here: [https://serverless-stack.com/](https://serverless-stack.com/)

When I try to run

> AWS\_PROFILE=(name hidden for privacy) serverless invoke local --function create --path mocks/create-event.json

When I try to run  
I get a “ **Serverless: DOTENV: Could not find .env file.** ” error

 ![Screen Shot 2020-07-13 at 4.15.25 PM](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/0/0736b2d218d0fe30d282fd0752802d5820389e44.png)

Any help/tips would be greatly appreciated!
