Start with config file reference error
See original GitHub issueCreated a config:
{
"upstreamHost": "10.0.0.1",
"upstreamPort": 5000,
"listenPort": 2014,
"vv": true,
"logFile": "log.txt"
}
When I start, I got this error on Windows and Linux machine:
$ node socketQueue.js --c=config.json
C:\SocketQueue\socketQueue.js:46
var val = readCfgParam(name, cfgData[name]);
^
ReferenceError: readCfgParam is not defined
at Object.<anonymous> (C:\SocketQueue\socketQueue.js:46:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
C#: Config file error - Stack Overflow
.config file without <configuration> is not configuration file, it's just another meaningless XML file.. – Shadow Wizard Chasing Stars.
Read more >ReferenceError: Given config path must be a valid file path #190
I have tried to add quotes to the config path --config \"js/config.json\" , and also a reference to the current folder --config ./js/config.json ......
Read more >Error While Reading config File - Help - UiPath Forum
Hi All, I am trying to read a credential from my Orchestration and for the same I have reused the REFramework component.
Read more >Why do I see the "Configuration file does not exist" error after ...
Open the installer with right click > Run as Administrator option when upgrading or installing an application. If you have already installed ...
Read more >Error loading config file | Heartbeat Reference [8.5] - Elastic
You may encounter errors loading the config file on POSIX operating systems if: an unauthorized user tries to load the config file, or;...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also, if you provide the real use cases, payloads of the system you need to communicate with, then you may count on me to assist in creation of templates or implementing some new configuration options.
Any more feedback?