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

Error: SyntaxError: Invalid or unexpected token #90

Open
zhengchencai opened this issue Apr 24, 2024 · 2 comments
Open

Error: SyntaxError: Invalid or unexpected token #90

zhengchencai opened this issue Apr 24, 2024 · 2 comments

Comments

@zhengchencai
Copy link

Hello,

I was using dagitty and it was working well. After updating to 0.3.4, I got an error even for the simplest demo DAG. Could you please help? Thanks.

> packageVersion("dagitty")
[1] ‘0.3.4’
> dag <- dagitty::dagitty("dag {
+     y <- x <- z1 <- v -> z2 -> y
+     z1 <- w1 <-> w2 -> z2
+     x <- w1 -> y
+     x <- w2 -> y
+     x [exposure]
+     y [outcome]
+   }")
Error: SyntaxError: Invalid or unexpected token
@jtextor
Copy link
Owner

jtextor commented Apr 25, 2024

This could be a problem with the underlying package "V8". Can you please tell me:

  • What is your operating system
  • What is the output of V8::engine_info()

@guanw921
Copy link

guanw921 commented Jun 4, 2024

I got the same issue. My operating system is windows and the output of V8::engine_info() is $version
[1] "6.2.414.50"

$numeric_version
[1] ‘6.2.414.50’

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