-
Notifications
You must be signed in to change notification settings - Fork 92
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
SyntaxError #250
Comments
Hi @vitya3 this is not an issue with the js-bigchaindb-driver. |
Ok, so where should I go with my problem? I was redirected here from the bigchaindb |
Hi @vitya3, I think the let pieces = param.replace(/+/g, ' ').split('=');
let key = pieces[0];
let value = pieces[1]; |
Hi @ttmc , thanks for suggestion. I tried it but got another error during the execution: SyntaxError: Unexpected token ... |
I don't have enough information to figure out what's going wrong. |
@ttmc thank you so much anyway |
Hi, any ideas how to fix it?
nodejs ./bigchaindb/helloworld.js
/root/node_modules/query-string/index.js:148
let [key, value] = param.replace(/+/g, ' ').split('=');
^
SyntaxError: Unexpected token [
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/root/node_modules/bigchaindb-driver/dist/node/stringify_as_query_param.js:21:20)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
Regards
The text was updated successfully, but these errors were encountered: