Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

UNABLE_TO_GET_ISSUER_CERT_LOCALLY upon npm start #26

Closed
jengfad opened this issue Aug 18, 2017 · 5 comments
Closed

UNABLE_TO_GET_ISSUER_CERT_LOCALLY upon npm start #26

jengfad opened this issue Aug 18, 2017 · 5 comments

Comments

@jengfad
Copy link

jengfad commented Aug 18, 2017

Git cloned the repo. Upon running npm start and navigating to the port, I get the error:

{"message":{"name":"RequestError","message":"Error: unable to get local issuer certificate","cause":{"code":"UNABLE_TO_GET_ISSUER_CERT_LOCALLY"},"error":{"code":"UNABLE_TO_GET_ISSUER_CERT_LOCALLY"},"options":{"uri":"https://graph.facebook.com/v2.7/search?type=place&q=&center=40.710803,-73.964040&distance=100&limit=100&fields=id&access_token=APP_ACCESS_TOKEN","method":"GET","simple":true,"resolveWithFullResponse":false,"transform2xxOnly":false}},"code":-1}

@tobilg
Copy link
Owner

tobilg commented Aug 18, 2017

You should remove your access token from the pasted code. Are you behind a firewall? Can you access the URL shown / the graph API directly?

@jengfad
Copy link
Author

jengfad commented Aug 18, 2017

I can access the actual grapi-api directly and via httpClient using dotnet core.

@tobilg
Copy link
Owner

tobilg commented Aug 18, 2017

I've never seen this error, nor was there ever an issue before. I highly doubt that it's a problem of this project.

See nodejs/node#3742

@jengfad
Copy link
Author

jengfad commented Aug 18, 2017

Will try to run the project on another machine. I'll keep you posted.

Also, I've dropped an email to you.

@jengfad
Copy link
Author

jengfad commented Aug 19, 2017

Just tried out the project on my home laptop and it works. Our company firewall might have something to do with the error I've encountered yesterday. Closing this issue now.

@jengfad jengfad closed this as completed Aug 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants