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

npm install and start is broken #1600

Closed
msdalp opened this issue Feb 24, 2020 · 1 comment
Closed

npm install and start is broken #1600

msdalp opened this issue Feb 24, 2020 · 1 comment

Comments

@msdalp
Copy link

msdalp commented Feb 24, 2020

Running on both Ubuntu 18:04 and MacOS with npm 6.13.4 and Node 13.9.0.

> Starting dev server...


 ERROR  Failed to compile with 6 errors                                                                                                                                                                                             5:37:41 PM

These dependencies were not found:

* mermaid/src/utils in ./src/extensions/mermaidExtension.js
* mermaid/src/diagrams/flowchart/flowRenderer in ./src/extensions/mermaidExtension.js
* mermaid/src/diagrams/sequence/sequenceRenderer in ./src/extensions/mermaidExtension.js
* mermaid/src/diagrams/gantt/ganttRenderer in ./src/extensions/mermaidExtension.js
* mermaid/src/diagrams/class/classRenderer in ./src/extensions/mermaidExtension.js
* mermaid/src/diagrams/git/gitGraphRenderer in ./src/extensions/mermaidExtension.js

To install them, you can run: npm install --save mermaid/src/utils mermaid/src/diagrams/flowchart/flowRenderer mermaid/src/diagrams/sequence/sequenceRenderer mermaid/src/diagrams/gantt/ganttRenderer mermaid/src/diagrams/class/classRenderer mermaid/src/diagrams/git/gitGraphRenderer
> Listening at http://localhost:8080

Trying to have a clean install on my local computer but many packages are deprecated or broken. After updating manually and npm audit it compiles but gives the error above and say Cannot GET /app. Anyone tried lately and have the proper setup files?

PS: with nvm I could run the app by downgrading node to v8.17.0

@jernejcvek
Copy link

Resolved by applying commits of pull requests #1475 and #1590, i.e.:

  • update gulp to 4.x, mermaid to ^8.4.6, and related packages,
  • edit Webpack configuration (webpack.base.conf.js),
  • modify mermaidExtension.js.

Tested on Node v12.x.

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

2 participants