I had to completely reinstall my ubuntu partition and as a result tried to install mermaid cli again, using these lines:
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
apt-get install -y build-essential nodejs
npm install -g mermaid.cli
mmdc -i test.mermaid -o test.png
Resulting in
(node:19211) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn EACCES
(node:19211) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Node version is 8.9.0, NPM is 5.5.1
Any idea what the problem might be?
Thanks in advance!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4