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.

Cannot read property 'split' of undefined

See original GitHub issue


When I clone repo from GitHub and use Kactus to open it, shows the Cannot read property ‘split’ of undefined alert.


Kactus version: 0.2.4

OS version: 10.12.6 (16G29)

Steps to Reproduce

  1. Clone Repository from GitHub in Kactus
  2. Create a Sketch file in Kactus
  3. Kactus shows the ERROR ALERT

2017-08-21 5 48 03


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

mathieudutourcommented, Aug 22, 2017

Yeah definitely need to fix this. I’m on holiday this week, will look at it on Monday.

On 22 Aug 2017, at 02:22, Herculano Campos wrote:

@jperals thanks! I wasn’t using kactus properly. I had an existing repo and the sketch file was being kept in the repo. Deleted the file, added *.sketch to .gitignore and regenerated the file. It was well now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

jperalscommented, Aug 22, 2017

Well, as this can happen not only when messing with the .gitignore but when cloning an existing repo I guess this is indeed important. (But this is of course for @mathieudutour to decide)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to prevent cannot read property split of undefined
If different values are assigned to a variable several times, calling the split() method on the variable when it is set to undefined...
Read more >
How to Prevent cannot read property split of ... - Gopi Gorantala
The "cannot read property 'split' of undefined" error occurs when trying to call split() method on a variable that stores an undefined value....
Read more >
Cannot Read Property 'split' of Undefined - freeCodeCamp
Calling array[i].split(""); to split each string into substrings of characters is a valid approach, but it will throw TypeError: Cannot read ...
Read more >
Uncaught TypeError: Cannot read property 'split' of undefined
If og_date contains the date, it's probably a string, so og_date.value is undefined. Simply use og_date.split('-') instead of og_date.value.
Read more >
TypeError: Cannot read property 'split' of undefined - JavaScript
So the argument word is coming in as undefined and therefore you can't run split() on it. You can either make sure it...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found