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: arg.startsWith is not a function

See original GitHub issue

Hello, I seem to be running into an issue with v0.22.1 on macOS 12.5.1. When trying to pass input through, it’s reporting TypeError: arg.startsWith is not a function. This seems to be isolated to macOS only as 0.22.1 works fine on my Ubuntu 22.04 machine.

Downgrading to v0.22.0 seems to run fine without any issues on macOS.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
matthewswitzercommented, Sep 1, 2022

I think that was it. Running pkill prettierd after upgrading seems to have fixed it. Thanks for your help!

1reaction
fsouzacommented, Aug 31, 2022

@matthewswitzer thanks for confirming. I’ll try to reproduce the setup/error later today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

startsWith is not a function getting called for no reason
startsWith (1)) , would occur with a TypeError due to startsWith() requiring a string. We can tell this is a TypeError from the...
Read more >
[Solved] TypeError: startsWith is not a function - ItsJavaScript
The TypeError: startsWith is not a function occurs if we call a startsWith() method on the value that is not of a type...
Read more >
TypeError: startsWith is not a Function in JavaScript - Linux Hint
The “TypeError: startsWith is not a function” occurs when the method is called on the non-string type values, as the “startsWith()” method is...
Read more >
Arg Startswith Is Not A Function - Amarta Karya
25/06/2022 How to fix TypeError: startsWith is not a function error? Solution 1: Convert the value into a string. Solution 2 Performing the...
Read more >
String.prototype.startsWith() - JavaScript - MDN Web Docs
This method lets you determine whether or not a string begins with another string. This method is case-sensitive. Examples. Using startsWith().
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