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

Console.log doesn't work #6

Open
pytong opened this issue Jun 24, 2016 · 2 comments
Open

Console.log doesn't work #6

pytong opened this issue Jun 24, 2016 · 2 comments

Comments

@pytong
Copy link

pytong commented Jun 24, 2016

Adding console.log to the javascript breaks the code.

function update(request) { console.log("testing"); return request; }

[error] GenServer #PID<0.407.0> terminating
** (Poison.SyntaxError) Unexpected token: t
(poison) lib/poison/parser.ex:56: Poison.Parser.parse!/2
(poison) lib/poison.ex:83: Poison.decode!/2
lib/execjs.ex:69: Execjs.extract_result/1
lib/execjs.ex:40: Execjs.exec/1

What am I missing here?

@korczis
Copy link

korczis commented Oct 9, 2016

@devinus Any plans to address this issue?

@devinus
Copy link
Owner

devinus commented Oct 10, 2016

@pytong @korczis The console object should not be available at all in any environemtn. Is this the Node runner?

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

3 participants