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: parser is not a function

See original GitHub issue

This error occurs because micromark (https://github.com/micromark/micromark/releases) updated from 2.10.1 to 2.11.0.

This lib is found in this dependency chain: react-markdown > remark-parse > mdast-util-from-markdown > micormark.

I fixed this issue by adding to my package.json:

"resolutions": {
    "mdast-util-from-markdown": "0.8.3"
},

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:11
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

9reactions
wooormcommented, Dec 9, 2020

Solved. Remove your lockfiles and reinstalling things should fix it for y’all

3reactions
ChristianMurphycommented, Dec 9, 2020

Thanks @dabit3, I’m able to reproduce that. Cutting that back to the minimal amount needed to reproduce https://codesandbox.io/s/xenodochial-archimedes-zijhr

/cc @TrySound thoughts or insights?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: parse is not a function on csv-parse - Stack Overflow
Solution was simple. If parse or any other function is not recognized with node require , try getting the function itself as:
Read more >
parser.parse(); is not a function - Esri Community
Hi, I was integrating https://developers.arcgis.com/javascript/jssamples/find_map_datagrid.html example into my map. but I got: TypeError: ...
Read more >
[Solved]-TypeError: parse is not a function on csv-parse-node.js
Solution was simple. If parse or any other function is not recognized with node require , try getting the function itself as:
Read more >
ESLint: TypeError: this.libOptions.parse is not a function | by ...
After that update your project to get back to 8.22 instead of 8.23, i.e.. remove node_modules folder; clean package-lock.json (by removing it too);...
Read more >
JavaScript: Uncaught TypeError: n is not a function
This error occurs if you try to execute a function that is not initialized or is not initialized correctly. This means that the...
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