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.

TypeError: Cannot read property 'id' of undefined

See original GitHub issue

Error at npm\node_modules\code-theme-converter\dist\idea\convert.js:81:49 while converting theme

I used this command: code2idea https://github.com/yedhrab/DarkCode-Theme.git

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
tobiastimmcommented, Nov 3, 2020

I will take a look at code2idea next. Atm the sublime conversion was in my focus, but I will revisit the IDEA converter now. Thank you for reporting the issue!

0reactions
Zaknarfencommented, Jul 5, 2021

That change I made actually makes it work. I am using the Rider IDE from JetBrains and I could convert a color theme from VSCode to it. The only problem is that Rider won’t recognize the files you generate with your library on import. I had to get a working color theme file (.icls file), open it with a text editor, and paste the contents of the theme .xml the library generated to me there.

In the end, I gave up because most of the colors were not translated to what I expected, so I had to manually create my theme. I was trying to get the Kimbie Dark from VSCode to Rider.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read properties of undefined (reading 'id') - TrackJS
TypeError is a subset of JavaScript Error that is thrown when code attempts to do something that does not exist on the target...
Read more >
"Cannot read property 'id' of undefined" when parsing an array ...
First, as said in the comments, you need to make sure the message object passed is really the one you're looking for.
Read more >
Uncaught TypeError: Cannot read property 'id' of undefined
My solution how to hundel this error ... Try and Catch is the solution but not in each place that you have the...
Read more >
TypeError: Cannot read property 'id' of undefined - JavaScript
I am trying to work around the problem but it seem strange as I am not proficient with JS Objects. Following is my...
Read more >
Cannot read property 'id' of undefined Stack
While accessing the Sprint backlogs in Azure DevOps, few users are getting error with a message: An unexpected error occurred within this region...
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