LoginSignup
0
0

remark-mathでCannot read properties of undefined (reading 'mathFlowInside') エラーが出るとき

Posted at

結論

バージョンを下げる。
今回は4.0.0まで下げたらうまくいった

npm install remark-math@4.0.0

背景情報

githubで公開されていたこちらのブログテンプレート数式表示に対応しておらず、自分でremark-mathを導入する必要があった。remarkのバージョンが古く、プラグインのバージョンもそれに合わせる必要があった

参考文献

https://github.com/remarkjs/remark-math/issues/89

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0