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

Can't find mmdc after upgrading to node.js v12.18.3 #65

Open
VincentTam opened this issue Mar 17, 2021 · 0 comments
Open

Can't find mmdc after upgrading to node.js v12.18.3 #65

VincentTam opened this issue Mar 17, 2021 · 0 comments

Comments

@VincentTam
Copy link
Contributor

Description

I installed this package with its dependences globally in node.js v10.x last summer.

After having upgraded to node.js v12.18.3, I got the same error as shown in the title of #52.

$ mermaid-filter -v
External tool not found: mmdc
$ mmdc -V
8.9.1
$ which mmdc
/home/vin100/.nvm/versions/node/v12.18.3/bin/mmdc
$ npm i mermaid-filter
[                  ] | reify:lodash: timing reifyNode:node_modules/puppeteer Completed in 2293ms

added 170 packages, and audited 171 packages in 22m

15 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
$ ls ./node_modules | grep mermaid
mermaid
mermaid-filter
@mermaid-js

In the linked issue, you've asked me to install the tool in node_modules.

  • global: I ran npm update -g to update all globally installed packages under ~/.nvm/versions/node/v12.18.3/.
  • local: I ran npm i mermaid-filter to install this package (with its dependencies) under ./node_modules/.

screenshot of local install
package local install

Screenshot from 2021-03-17 10-30-49
after package local install, this package still can't find mmdc

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

1 participant