question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SyntaxError: invalid property id...

See original GitHub issue

Having an issue trying to run Polydock. I have ensured all the dependencies are installed, and have tried both from the current folder (bin/polydock) and installed to ~/.local/bin/

I have also tried with and without the default configuration installed to ~/.config/polydock/

This is the result every time:

# bin/polydock

(gjs:29578): Gjs-CRITICAL **: 15:44:55.103: JS ERROR: SyntaxError: invalid property id @ bin/polydock:138
Script bin/polydock threw an exception

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pantsofpiecommented, Jun 10, 2020

Can confirm v2.0.2 fixes it! 😃

Thanks!

1reaction
folkecommented, Jun 10, 2020

Thanks. I think I know what’s the problem here.

In Fedora, the current version is 1.64.3, which probably contains some additional JS language features.

Will see to transpile / downlevel so it also works on older versions.

I’ll keep you updated!

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript SyntaxError: invalid property id - Stack Overflow
You have a syntax error: var foo = { func1:function() { function test() { alert("123"); }(); // ^ You can't invoke a function...
Read more >
SyntaxError: invalid property id - Adobe Support Community
Property ID's for an object cannot contain spaces or other punctuation unless they are enclosed in quotes. for example.
Read more >
E QUERY [thread1] SyntaxError: invalid property id @(shell)
I have “MongoDB in Action” book, In aggregation chapter, I have the following codes: product = db.products.find({'slug': ...
Read more >
SyntaxError: missing : after property id - JavaScript | MDN
The JavaScript exception "missing : after property id" occurs when objects are created using the object initializer syntax. A colon ( : )...
Read more >
SyntaxError: invalid property id when using with Vue.js in old ...
I had a similar issue. Seems like the is not compiled to es2015 anymore and therefore contains syntax which isn't supported in older...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found