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

Support unicode chars in labels #9

Closed
zuf opened this issue Dec 1, 2014 · 3 comments
Closed

Support unicode chars in labels #9

zuf opened this issue Dec 1, 2014 · 3 comments

Comments

@zuf
Copy link

zuf commented Dec 1, 2014

Please provide support for non latin chars in labels.

For example this code raise error:

<div class="mermaid">
graph TD;
    A(Начало)-->B;
</div>
Error: Lexical error on line 2. Unrecognized text.
graph TD; A(а�аАб�аАаЛаО)-->B;
---------------^
@knsv
Copy link
Collaborator

knsv commented Dec 1, 2014

Fixed with the help of codebeige!

@knsv knsv closed this as completed Dec 1, 2014
@zuf
Copy link
Author

zuf commented Dec 1, 2014

Nice, thanks!

@Suresh-Subedi
Copy link

Suresh-Subedi commented May 27, 2018

@knsv
Doesn't work for:
graph TD;
A(भीष्म)-->B;

knsv pushed a commit that referenced this issue Jan 2, 2020
knsv pushed a commit that referenced this issue Aug 4, 2021
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 1.7.2 to 3.0.0.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Changelog](https://github.com/liady/webpack-node-externals/blob/master/CHANGELOG.md)
- [Commits](liady/webpack-node-externals@v1.7.2...v3.0.0)

---
updated-dependencies:
- dependency-name: webpack-node-externals
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
mgenereu referenced this issue in mgenereu/mermaid Jun 25, 2022
Currently building the docker image fails with the following error:

```
 => [mermaid-live-editor-builder 4/5] RUN yarn install                                                                                                                                  25.2s= => ERROR [mermaid-live-editor-builder 5/5] RUN yarn build                                                                                                                               0.8s
------                                                                                                                                                                                         > [mermaid-live-editor-builder 5/5] RUN yarn build:
#9 0.399 yarn run v1.21.1
#9 0.432 $ webpack build
#9 0.748 internal/modules/cjs/loader.js:628
#9 0.748   throw e;
#9 0.748   ^
#9 0.748
#9 0.748 Error: No valid exports main found for '/home/node_modules/colorette'
#9 0.748     at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)
#9 0.748     at applyExports (internal/modules/cjs/loader.js:502:14)
#9 0.748     at resolveExports (internal/modules/cjs/loader.js:551:12)
#9 0.748     at Function.Module._findPath (internal/modules/cjs/loader.js:657:22)
#9 0.748     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:960:27)
#9 0.748     at Function.Module._load (internal/modules/cjs/loader.js:855:27)
#9 0.748     at Module.require (internal/modules/cjs/loader.js:1033:19)
#9 0.748     at require (/home/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
#9 0.748     at Object.<anonymous> (/home/node_modules/webpack-cli/lib/webpack-cli.js:10:66)
#9 0.748     at Module._compile (/home/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) {
#9 0.748   code: 'MODULE_NOT_FOUND'
#9 0.748 }
#9 0.763 error Command failed with exit code 1.
#9 0.763 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
executor failed running [/bin/sh -c yarn build]: exit code: 1
```

This is because colorette doesn't work with Node.js 13: jorgebucaran/colorette#46

Any node.js other than 13 would work. If there's a reason to not use the latest version, we can change it to 14.16.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants