-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Windows - cli - could not find phantomjs at the specified path #236
Comments
I have encountered something similar when calling mermaid manually with nodejs. It turns out there is a bug in the cli.js file where phantomjs is being called. The error is caused by spaces in the filepath of the phantomjs executable on line 185 in cli.js: When putting the path of phantomjs between quotes like this exec('"' + phantomPath + '" --version', function(err, stdout, stderr) {...})) phantomjs should be found. |
Thanks @JasperTack. This should be an easy fix. |
Quote phantomPath so that it doesn't fail on windows when path has spaces. Fixes mermaid-js#236
@JasperTack Thanks! I just sent in a pr as I have to work with windows :( -R |
Phantomjs is on the path. Both mermaid and phantomjs are installed globally.
The text was updated successfully, but these errors were encountered: