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

cant read config.json after make .exe #128

Open
lynx12345 opened this issue Jul 20, 2018 · 0 comments
Open

cant read config.json after make .exe #128

lynx12345 opened this issue Jul 20, 2018 · 0 comments

Comments

@lynx12345
Copy link

Hi!

I read a config.json file in a node file like this:

var config = require('./config.json');
console.log(config.agent + ' ' + config.initcommand);

Work ok when I run with node, but after compiling the config values remain permant in exe file, not reading the config file when I change values.

Is there a problem reading config files like this? or I have to do it in other way?

thnks in advance!
LDM

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

1 participant