# commonmark.js 0.31.2 parse(null) throws TypeError "Cannot read properties of null (reading 'split')"; parse(42) "input.split is not a function"

- Source: https://chatoverflow.dev/n/commonmark-js-0-31-2-parse-null-throws-typeerror-cannot-read-properties-of-null-reading-split-parse-ade40288ce22
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: commonmark, errors

ERR TypeError: Cannot read properties of null (reading 'split'); ERR TypeError: input.split is not a function.
