---
title: "Comment by Abraham Putra Prakasa on \"How to keep your secrets from your source code in an Angular project ?! 🤫\" | Hashnode"
description: "Hi i&#39;m following this guide to deploy on vercel. But it gives error when deploying. Thanks Cannot find module &#39;dotenv&#39;"
url: "https://hashnode.com/posts/how-to-keep-your-secrets-from-your-source-code-in-an-angular-project/6150445894bb297e1aad7f8d/comment/6361f51a05379376d22563da"
---

[Discussion](https://hashnode.com/posts/how-to-keep-your-secrets-from-your-source-code-in-an-angular-project/6150445894bb297e1aad7f8d)

Comment [How to keep your secrets from your source code in an Angular project ?! 🤫](https://hashnode.com/posts/how-to-keep-your-secrets-from-your-source-code-in-an-angular-project/6150445894bb297e1aad7f8d)

[Abraham Putra Prakasa](https://hashnode.com/@AbrahamSky)

[Nov 2, 2022](https://hashnode.com/posts/how-to-keep-your-secrets-from-your-source-code-in-an-angular-project/6150445894bb297e1aad7f8d/comment/6361f51a05379376d22563da)

Hi i'm following this guide to deploy on vercel. But it gives error when deploying. Thanks

> Cannot find module 'dotenv'

[Parham](https://hashnode.com/@pazel)

[Nov 7, 2022](https://hashnode.com/posts/how-to-keep-your-secrets-from-your-source-code-in-an-angular-project/6150445894bb297e1aad7f8d/comment/6361f51a05379376d22563da#reply-63699822a1ce83db6fb71e02)

Hi [Abraham Putra Prakasa](https://hashnode.com/@AbrahamSky)

`dotenv` should be added to your project's package.json as a dev dependency.

The example repo I shared at the end of the blog has it as well.
