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

error in safari 15.3 mac os 12.2.1 #534

Open
livecopilot opened this issue Aug 26, 2024 · 2 comments
Open

error in safari 15.3 mac os 12.2.1 #534

livecopilot opened this issue Aug 26, 2024 · 2 comments

Comments

@livecopilot
Copy link

error in safari 15.3 mac os 12.2.1.
angular 18.0.6

"mermaid": "^10.9.1",
"ngx-markdown": "^18.0.0",
"prismjs": "^1.28.0",

error msg:
Error: [ngx-markdown] When using the mermaid attribute you have to include Mermaid files to angular.json or use imports. See README for more information
renderMermaid — 784.e8731996ab8747ab.js:1:41488
render — 784.e8731996ab8747ab.js:1:37593
(匿名函数) — 784.e8731996ab8747ab.js:1:44282
generatorResume
C — main.7f5abef701198ee6.js:1:6130758
Be — main.7f5abef701198ee6.js:1:6130979
onInvoke — main.7f5abef701198ee6.js:1:4761618
run — polyfills.af626ee477947dbd.js:1:14417
(匿名函数) — polyfills.af626ee477947dbd.js:1:25528
onInvokeTask — main.7f5abef701198ee6.js:1:4761433
runTask — polyfills.af626ee477947dbd.js:1:15067
J — polyfills.af626ee477947dbd.js:1:21795
invokeTask — polyfills.af626ee477947dbd.js:1:20849
Z — polyfills.af626ee477947dbd.js:1:4822
x — polyfills.af626ee477947dbd.js:1:5110

and chrome is ok。 safari new version (17.6) is ok. it's very strange

@jfcere
Copy link
Owner

jfcere commented Aug 26, 2024

Hi @livecopilot,

Did you add the mermaid file to the scripts section of your angular.json as specified in the link below?

https://github.com/jfcere/ngx-markdown?tab=readme-ov-file#diagrams-tool

@livecopilot
Copy link
Author

Hi @livecopilot,

Did you add the mermaid file to the scripts section of your angular.json as specified in the link below?

https://github.com/jfcere/ngx-markdown?tab=readme-ov-file#diagrams-tool

Yes,But it's do not work in safari 15.3

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
@jfcere @livecopilot and others