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.

value.split is not a function

See original GitHub issue

After initial install, I’m getting this error:

  at analyzer_StandardAnalyzer.whitespaceTokenizer [as tokenizer] (node_modules/@lokidb/full-text-search/lokidb.full-text-search.js:139:18)
  at analyze (node_modules/@lokidb/full-text-search/lokidb.full-text-search.js:175:29)

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
jhullcommented, May 23, 2020

Just a quick note, as I still ran into this while starting over – if you get this error, it’s likely you have an issue with YAML frontmatter. I had one file like this:

---
title: 300
---

And the module didn’t like that, until I did this:

---
title: '300'
---

Hope that helps!

1reaction
jhullcommented, May 23, 2020

Actually, feel free to close this out. I realized the problem was trying to swap this out with hand-rolled/hacked version of the same thing. Once I ripped everything out and started with the content module first, I started to understand your paradigm for everything, and i’m slowly adapting to it (much better implementation).

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is causing the error `string.split is not a function`?
This is because document.location is a Location object. The default .toString() returns the location in string form, so the concatenation will trigger that....
Read more >
How To Fix Split is Not a Function Error in JavaScript - Isotropic
split is not a function error. The Problem. First and foremost it is important to understand the usage of the split() method. It...
Read more >
[Solved] TypeError: split is not a function - ItsJavaScript
The TypeError: split is not a function occurs if we call a split() method on the value that is not of a type...
Read more >
TypeError: split is not a function in JavaScript - Java2Blog
TypeError: .split is not a function occurs when we call split() function on object which is not an string. split() function can be...
Read more >
Error: split is not a function - JavaScript - SitePoint Forums
I have a string that is a latitude and longitude pair separated by a comma. I'm trying to separate the 2 parts of...
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