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

Proxy cache defaults to directory, not file #26

Closed
mayorbyrne opened this issue Sep 13, 2012 · 0 comments
Closed

Proxy cache defaults to directory, not file #26

mayorbyrne opened this issue Sep 13, 2012 · 0 comments

Comments

@mayorbyrne
Copy link
Collaborator

I am able to successfully create a proxy server while specifying "./cache.json" in the cache file.

In my code, I also console.log the cache path. When I do specify it, it logs like

"path/to/cache/cache.json."

When I comment out the cache line, I receive the following:

WARNING: Cannot find module 'C:\Users\Kevin\workspace\proxy\node_modules\ngn\lib
\ngnx\web\cache.json'. Using C:\Users\Kevin\workspace\proxy\cache.json instead.

C:\Users\Kevin\workspace\proxy <<-----this is the new logged cache path
Proxy Controller is ready

Even though I DO have that cache.json where it says it is "using it instead," it will not run correctly (it looks like it is only pointing to the directory, and not the actual cache file itself).

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

2 participants