Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your .env file does not match your bot.js #2

Open
sjh37 opened this issue May 29, 2020 · 2 comments
Open

Your .env file does not match your bot.js #2

sjh37 opened this issue May 29, 2020 · 2 comments

Comments

@sjh37
Copy link

sjh37 commented May 29, 2020

In your home page you say to create

EMAIL[email protected]
PASS=yournikeaccountpassword
CVC=yourcreditcardcvc

CVC is the problem because in bot.js line 32 you access CV_CODE and not CVC

const cv_code = process.env.CV_CODE
@Mosuswalks
Copy link
Owner

Hey Simon,

Good catch! I'll fix that later today.

@beratturan
Copy link

In your home page you say to create

EMAIL[email protected]
PASS=yournikeaccountpassword
CVC=yourcreditcardcvc

CVC is the problem because in bot.js line 32 you access CV_CODE and not CVC

const cv_code = process.env.CV_CODE

Did you try the program, does it work?

markf94 added a commit to markf94/snkrs-bot that referenced this issue Jan 8, 2021
As described in Mosuswalks#2, the README tells the user to create a `.env` file
with a `CVC` variable in it but the `bot.js` file references a `CV_CODE`
variable in the dotenv file which doesn't exists.
markf94 added a commit to markf94/snkrs-bot that referenced this issue Jan 8, 2021
As described in Mosuswalks#2, the README tells the user to create a `.env` file
with a `CVC` variable in it but the `bot.js` file references a `CV_CODE`
variable in the dotenv file which doesn't exists.
markf94 added a commit to markf94/snkrs-bot that referenced this issue Jan 8, 2021
As described in Mosuswalks#2, the README tells the user to create a `.env` file
with a `CVC` variable in it but the `bot.js` file references a `CV_CODE`
variable in the dotenv file which doesn't exists. It's actually called a
Card Verification Value (CVV) code and not a CVC code and hence the
variable names were adjusted to match that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants