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
Now I'm getting errors for any of my app calls with error mesage provided below
[SyntaxError: /usr/local/lib/node_modules/socialedge-twitter/node_modules/twitter-node-client/node_modules/qs/lib/index.js:5
const Stringify = require('./stringify');
^^^^^
Use of const in strict mode.]
Unfortunately, I haven't access to the Node.js runtime or target system CLI - it is AWS Lambda which doesn't have any abilities to change this behavior.
The text was updated successfully, but these errors were encountered:
I'm using node.js twitter-node-client module which uses qs (https://www.npmjs.com/package/qs)
Now I'm getting errors for any of my app calls with error mesage provided below
[SyntaxError: /usr/local/lib/node_modules/socialedge-twitter/node_modules/twitter-node-client/node_modules/qs/lib/index.js:5
const Stringify = require('./stringify');
^^^^^
Use of const in strict mode.]
As I know const (the same as let etc) are part of ECMAScript Harmony spec and I have to launch node with option --harmony as described here: http://stackoverflow.com/questions/22603078/syntaxerror-use-of-const-in-strict-mode
Unfortunately, I haven't access to the Node.js runtime or target system CLI - it is AWS Lambda which doesn't have any abilities to change this behavior.
The text was updated successfully, but these errors were encountered: