# Problem with passing the .env exercise on Basic Node and Express Module

**URL:** <https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [February 18, 2021, 11:07am UTC](https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989 "2021-02-18T11:07:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yanick-web](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/yanick-web/32/202207_2.png) [@Yanick-web](https://forum.freecodecamp.org/u/Yanick-web)\
**Post date:** [February 18, 2021, 11:07am UTC](https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989/1 "2021-02-18T11:07:06Z")

</div>

**Tell us what’s happening:**  
So i did the exercise on repl.it and it works when i test it on the console and on the browser. But when i submit the link to pass the exercise, i get an error on the repl console.

 ![Screenshot (2)](https://global.discourse-cdn.com/freecodecamp/original/3X/a/5/a5eb1c60cc2880cd616475340e9d6f348cb2096d.png)  
I think there is a problem with the package fcc-express-bground, specifically in the index.js file.

Can anyone help with this please!!.  
**Your code so far**

**Your browser information:**

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36`.

**Challenge:** Use the .env File

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/back-end-development-and-apis/basic-node-and-express/use-the--env-file)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 18, 2021, 11:22am UTC](https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989/2 "2021-02-18T11:22:04Z")

</div>

> [@Use the .env File - Issue \[RESOLVED\]](https://forum.freecodecamp.org/t/use-the-env-file-issue/444454):
>
> [FIXED]: A fix has been pushed onto the fcc-bground-package, and this should no longer be a problem. If you started this project recently, you will likely need to: Open the terminal/shell Run the command npm update --save Restart the app As of \<04/02/2021, a change has caused the above mentioned lesson to be uncompletable. Some have also been unable to complete: Implement a Root-Level Request Logger Middleware Chain Middleware to Create a Time Server Error: SyntaxError: Unexpected token \< …

---

<div class="post-metadata">

**Author:** ![Yanick-web](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/yanick-web/32/202207_2.png) [@Yanick-web](https://forum.freecodecamp.org/u/Yanick-web)\
**Post date:** [February 18, 2021, 7:47pm UTC](https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989/3 "2021-02-18T19:47:50Z")

</div>

Thank you @ILM . I guess i just have to move on to the next modules. But my only concern is will i be able to get the certificate at the end if these few exercises are uncompleted?

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 18, 2021, 7:48pm UTC](https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989/4 "2021-02-18T19:48:22Z")

</div>

only the five final projects are needed for the certificate

---

<div class="post-metadata">

**Author:** ![Yanick-web](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/yanick-web/32/202207_2.png) [@Yanick-web](https://forum.freecodecamp.org/u/Yanick-web)\
**Post date:** [February 18, 2021, 7:50pm UTC](https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989/5 "2021-02-18T19:50:00Z")

</div>

Alrighty. Thanks. I am reassured. 👍 👍 👍 👍

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 20, 2021, 7:50am UTC](https://forum.freecodecamp.org/t/problem-with-passing-the-env-exercise-on-basic-node-and-express-module/446989/6 "2021-08-20T07:50:44Z")

</div>

Closed on August 20, 2021, 7:50am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
