Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] TypeError: Cannot set properties of undefined (setting 'alignBlocks') #446

Closed
0xinhua opened this issue Sep 9, 2021 · 3 comments
Labels
status/duplicate This is "déjà vu" type/question This does not need any changes

Comments

@0xinhua
Copy link

0xinhua commented Sep 9, 2021

hi,I use [email protected] in bytemd trying to test markdown text align in remark processing,

here's the codesandbox demo link: https://codesandbox.io/s/bytemd-remark-align-demo-lgvpb ,

it goes to a error:
image

@StaloneLab
Copy link
Member

What version of remark are you using? A mention is included in the README:

Currently, all the plugins provided only work for remark versions lesser than 13.0.0.

If you are using a version greater or equal to 13.0.0, then you'll need to wait for #416

@0xinhua
Copy link
Author

0xinhua commented Sep 9, 2021

Hi @StaloneLab thanks for your prompt reply ~
not a greater version, using "remark-parse": "^9.0.0", "remark-parse": "^9.0.0","remark-rehype": "^8.1.0", "unified": "^9.2.2"
is there are some suggestions to solve this error ? thks.

@StaloneLab
Copy link
Member

This is a greater version unfortunately. I was referring to the version of remark, but remark-parse has different versioning. See if you can make it work by downgrading remark-parse to 8.x. You might need to downgrade some other dependencies to have them work with it, for instance remark-rehype should stay in version 7.x.

If you cannot downgrade, then please refer to the issue linked above.

@StaloneLab StaloneLab added status/duplicate This is "déjà vu" type/question This does not need any changes labels Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate This is "déjà vu" type/question This does not need any changes
Projects
None yet
Development

No branches or pull requests

2 participants