-
Notifications
You must be signed in to change notification settings - Fork 16
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
TypeError: Cannot read property 'mark' of undefined #29
Comments
Hey, I don't really understand this problem, is it still problem ? if yes can you give more informations ? Thanks |
Hmmm, I'm trying to remember what this issue was... I think it had something to do with trying to add the dependency with the command:
I don't think the dev branch was working for me due to the annotated-segment issue here: If the develop branch is fixed then this can probably be closed out. I'll try and test this morning and report back. |
Ok, the problem here stems from the fact that the develop branch does not include the build files required when importing the library using ES6.
The DEV branch is required due to all of the improvements and issues detailed here: So, as far as I can tell, including this project as a dependency, using npm or yarn, is currently broken. I was able to get around this issue by forking the repository and build the project myself, incorporating the changes in the develop branch. The line in my package.json looks like this:
My complete package.json:
I don't think this will be an issue once you merge develop into master and rebuild. |
Yes it looks like this is the problem, I will try to make a release soon to prevent this problem. |
The Master branch seems to be throwing an error that I'm unable to track down exactly.
The good news is that I was able to fork the repository, merge develop into master, run the
yarn run bundle
command and get past the problem by including my fork as a dependency.Here's the screen capture video of my process, adding the library to a fresh create-react-app project.
Note, create-react-app uses webpack and ES6 by default.
The text was updated successfully, but these errors were encountered: