Advanced Node and Express - Set up Passport

Tell us what’s happening:

should i use this sample.env file or create a new one - im having an error - can you help me


###Your project link(s)

solution: https://3000-freecodecam-boilerplate-sbyetczu1v8.ws-us114.gitpod.io

Your browser information:

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

Challenge Information:

Advanced Node and Express - Set up Passport

you need to have a .env file, you can rename the sample.env or create a new one

Hi I encountered the same issue. it is occurring because the dotenv library/tool is not locating your sample.env file to solve this specify the path in the requirement configuration. see picture

or you can rename sample.env to have the expected name of .env

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