-
Notifications
You must be signed in to change notification settings - Fork 415
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
Exception in file read #225
Comments
I haven't seen this one before. If you have created the config.json file then this error should go away. Might be a permission issue so check that too. Also, make sure you installed all the dependencies including redis. |
I am able to read the file and print it in the same code. The only problem is the 'minify' module it seems. |
I am getting this as well on Mac OS X 10.10.1. I am not very learned with node and npm. I cloned the repo, followed the directions in the README (npm install; cp config.json), and get the same error:
Here are my dependency versions:
root@ffec822bc959:
|
It is a bug in |
@ArVan That solves it! |
It should be fixed. |
It is still not fixed. Is there anyone managing the repo? Maybe a line in FAQ or warning in README.md will do the trick for new installs. |
@chipironcin Did you run "npm install" after to modify config.json? |
@ArVan Thank you! That solves it! |
On mac, when I do
npm start
, I get this error.File /Users/abc/projects/iodocs/config.json not found or is invalid. Try:
cp config.json.sample config.json
I tried printing the exception, it says
[TypeError: Property 'minify' of object # is not a function]
I did
npm install
properly, I tried installing thenode-json-minify
manually as well, but still doesn't work.I tried using https://github.com/getify/JSON.minify on node command line as well, but it doesn't work as well. Should I try some other version of node-json-minify? It is set to 0.1.x right now in package.json
The text was updated successfully, but these errors were encountered: