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
/tmp/ldap/node_modules/ldap-server-mock/server.js:26
throw new Error(Invalid arguments: ${error.message});
^
Error: Invalid arguments: /tmp/users.json: Unexpected token [ in JSON at position 119
at Object. (/tmp/ldap/node_modules/ldap-server-mock/server.js:26:9)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:387:7)
at startup (bootstrap_node.js:153:9)
at bootstrap_node.js:500:3
Do you have any idea why i get this error ?
Thank you
The text was updated successfully, but these errors were encountered:
@xx2new : As the error says your users.json file doesn't seem to be a valid JSON file (Error: Invalid arguments: /tmp/users.json: Unexpected token [ in JSON at position 119)
Hey i get this error when i will start ldap-server ...
$ node node_modules/ldap-server-mock/server.js --conf=/tmp/ldap-server-mock-conf.json --database=/tmp/users.json
/tmp/ldap/node_modules/ldap-server-mock/server.js:26
throw new Error(
Invalid arguments: ${error.message}
);^
Error: Invalid arguments: /tmp/users.json: Unexpected token [ in JSON at position 119
at Object. (/tmp/ldap/node_modules/ldap-server-mock/server.js:26:9)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:387:7)
at startup (bootstrap_node.js:153:9)
at bootstrap_node.js:500:3
Do you have any idea why i get this error ?
Thank you
The text was updated successfully, but these errors were encountered: