Technoblazed / passport-faceit

passport-faceit
MIT License
4 stars 2 forks source link

npm i passport-faceit wont work. #2

Open 18TB opened 3 years ago

18TB commented 3 years ago

As the title says, using the install script for "passport-faceit" and "passport-faceit-master" wont work. I have tried even installing the zip and adding it to my node modules but it gets deleted as it is never put in the Node Modules folder, this is a priority for something I am working on, i will attach a screenshot of the error it gives. Please let me know if there is a way of installing it and bypassing the error, thanks!

ss

Technoblazed commented 3 years ago

Do you actually have git installed?

18TB commented 3 years ago

As in npm? No, but i just ran "npm install git" then re-tried installing passport-faceit but it still didn't work.

Technoblazed commented 3 years ago

It’s not an npm package. Go do some googling on how to install and setup git for windows.

18TB commented 3 years ago

You mean as in on my computer? Am i supposed to have it installed on windows just to npm install a package?

18TB commented 3 years ago

It’s not an npm package. Go do some googling on how to install and setup git for windows.

I have just installed github, what am i supposed to do now?

18TB commented 3 years ago

I get that you probably know this that well that it just makes me sound dumb, but honestly, I have never had this error before, I have a lot of experience with coding, but honestly don't know what to do in this situation.

Technoblazed commented 3 years ago

You need to install Git, not GitHub. You are getting that error because your machine doesn't have git installed.

18TB commented 3 years ago

You need to install Git, not GitHub. You are getting that error because your machine doesn't have git installed.

Ah makes sense, i was rather confused. I installed git, and opened cmd, cd (file location) then did the install script and it worked perfectly. Thanks for the help!

18TB commented 3 years ago

What do i actually put in my auth.js file to make it redirect the user to sign in, I have been trying for over an hour now and haven't managed to get it to work, i tried the code you attached however it would never take me to the verification page and would just log errors