Open the7erm opened 7 years ago
This is what I have installed.
$ npm list | grep codemirror
├── codemirror@5.23.0
├─┬ react-codemirror@0.3.0
FYI: I ran npm install codemirror@5.18.2 --save
and this seems to have fixed the bug. It appears that the newest version of codemirror 5.23.0 isn't compatible with react-codemirror
Not sure how you got react-codemirror
0.3.0
version. I am running into the same issue - 'place is not a function'
with 0.2.6
(which seems to be latest version for react-codemirror
)
i have had this issue, just because i have imported the wrong module for CodeMirror
I had :
import CodeMirror from "codemirror";
Error fixed like this :
import CodeMirror from "react-codemirror";
TypeError: place is not a function[Learn More] bundle.js:56747:13
I'm not sure what's going on here. The
else { place(d.wrapper) }
line is throwing that error. Is there a specific version of codemirror that's required?