Comments (8)
I just had something like this... You have "version": "0.5.1"
, the current is "8.4.8" - you're waaay behind.
Maybe you made the same error as me and installed the old "mermaid.cli" npm package? The correct package is installed with npm install @mermaid-js/mermaid-cli
.
from mermaid-cli.
@tylerlong could the old repo be made more explicit about avoiding this confusion? warning signs, npm package deletion or modification to show a warning right away if installed?
from mermaid-cli.
I just had something like this... You have
"version": "0.5.1"
, the current is "8.4.8" - you're waaay behind.
Maybe you made the same error as me and installed the old "mermaid.cli" npm package? The correct package is installed withnpm install @mermaid-js/mermaid-cli
.
@styts you're totally right, I was stuck against old repo, didn't realize there are two different repos. Removing the old and installing new one solved my issue. Many thanks for pointing me there.
from mermaid-cli.
@MindaugasLaganeckas There is still a confusion. I also made the mistake of installing from the old repo. I saw the updated readme and clicked on the link, but the new repo readme starts with mmdc commands, and I even scrolled a bit but did not see the install commands. I jumped back, expecting that I needed the install commands from the first repo. Then, only npm worked for me, but at least, it worked in parts (except for the autonumber).
The same outdated command is on the official npm site which is as outdated as the outdated old repo which made it even clearer for me that the command had to be right.
The install commands also did not seem strange or outdated as regards the naming. When I jumped between the repos, I did not look at the version. I have lost an hour or two with this. Stupidity, but it happens, especially with 50 tabs open. It would be best if there was a comment directly on top of the old install commands of yarn and npm saying that these commands are outdated.
from mermaid-cli.
Transferring issue to cli repo
from mermaid-cli.
Duplicate of #433
from mermaid-cli.
https://www.npmjs.com/package/mermaid.cli (v0.5.1) : installation cli still mention the old repo, how are people supposed to know ? Is there someone updating those packages and wiki pages ?
from mermaid-cli.
@Kochise : the readme has been updated in the mermaid.cli repo https://github.com/mermaidjs/mermaid.cli/
from mermaid-cli.
Related Issues (20)
- No charts found when space between opening code fence and language name HOT 3
- Upgrade puppeteer HOT 1
- Unable to resolve types with TypeScript 5.3.3 / TSC 9.2.0 HOT 1
- Apply styles from inside mermaid graphs
- Bug: CSS Styling Not Applied to SVG (only PNG / static image)
- Add types for exports
- How can I configure maxEdges using the CLI? (Error: Too many edges) HOT 1
- Error: net::ERR_ACCESS_DENIED on /@mermaid-js/mermaid-cli/dist/index.html
- Error: Could not find Chromium (rev. 1108766) HOT 7
- Syntax Error in Mermaid-cli tool HOT 1
- background of edge label is white in pdf from flowchart
- Missing description in `-h, --help`
- Custom image output for .md file input
- SyntaxError: The requested module `@mermaid-js/mermaid-cli` does not provide an export named 'run' (via SyntaxError) HOT 1
- Formatting of diagram is changed when exported to svg, pdf or png
- Could not find Chromium (rev. 1108766) HOT 5
- Upgrade mermaid to 10.9.0 (Latex support) HOT 2
- Write output to stdout
- Document mermaid-cli release procedure
- mmdc not generating labels for SVG outputs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mermaid-cli.