You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation for this provider, the following instructions are offered for setting a custom data directory:
You can override this by setting an environment variable KOOP_DATA_DIR=.
After failing at this several times, I went to check out this provider's source code. src/model.js I found the following line where it appears the data directory is set:
When I changed the environment variable from KOOP_DATA_DIR to simply DATA_DIR, the provider finally worked. I am very new to working with NodeJS so I'm not super savvy at debugging, but from my understanding here, it looks like there is a conflict between the documentation and the actual code. Is this interpretation correct? If so, I'd be happy to either update the documentation or code.
The text was updated successfully, but these errors were encountered:
In the documentation for this provider, the following instructions are offered for setting a custom data directory:
After failing at this several times, I went to check out this provider's source code.
src/model.js
I found the following line where it appears the data directory is set:When I changed the environment variable from
KOOP_DATA_DIR
to simplyDATA_DIR
, the provider finally worked. I am very new to working with NodeJS so I'm not super savvy at debugging, but from my understanding here, it looks like there is a conflict between the documentation and the actual code. Is this interpretation correct? If so, I'd be happy to either update the documentation or code.The text was updated successfully, but these errors were encountered: