question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dep graph not generated due to errors

See original GitHub issue

Expected Behavior

It should generate the dependencies graph of my project.

Current Behavior

When I run npm run dep-graph It generates an image with all my libs and apps in a row with no connections between them.

Failure Information (for bugs)

[project root]node_modules/viz.js/viz.js:33 Invalid asm.js: Function definition doesn't match use

Steps to Reproduce

  1. npm run dep-graph

Context

Angular CLI version output

Angular CLI: 8.0.3
Node: 12.3.1
OS: darwin x64
Angular: 8.0.3
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.800.1
@angular-devkit/build-angular      0.800.6
@angular-devkit/build-ng-packagr   0.800.6
@angular-devkit/build-optimizer    0.800.6
@angular-devkit/build-webpack      0.800.6
@angular-devkit/core               8.0.1
@angular-devkit/schematics         8.0.1
@angular/cdk                       8.0.1
@angular/flex-layout               8.0.0-beta.26
@angular/material                  8.0.1
@angular/material-moment-adapter   8.0.1
@ngtools/json-schema               1.1.0
@ngtools/webpack                   8.0.6
@schematics/angular                8.0.1
@schematics/update                 0.800.3
ng-packagr                         5.3.0
rxjs                               6.5.2
typescript                         3.4.5
webpack                            4.30.0

Nx version

8.1.2

Other

I began to notice this error after importing an existing project to our monorepo. After the import several libraries and apps where created although it did not require adding any extra dependency, they were libs and apps pretty similar to the ones that were already in the monorepo.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:15

github_iconTop GitHub Comments

2reactions
ynovalcommented, Jul 22, 2019

https://github.com/ynoval/mssone.git is a repo with he same error: $ npm run dep-graph …

nx dep-graph

(node:31475) V8: /home/yoel/MSS-ONE/borrar/mssone/node_modules/viz.js/viz.js:33 Invalid asm.js: Function definition doesn’t match use

Angular CLI: 8.0.0 Node: 12.6.0 OS: linux x64 Angular: 8.1.2

Thanks!! Nx is a great tool

1reaction
claderacommented, Sep 28, 2019

@mtuzinskiy yes, I had the same version in my project and in the brand new project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing Nrwl Nx Monorepo Workspace Dependency Graph Error
Solution to Nx Dependency Graph Error​​ There are 2 options. Either you can allow everyone to access every other projects by using [*]...
Read more >
Solving Problems with the Dependency Graph - Nx Conf 2021
The dependency graph can be a powerful part of your workspace, but it can be hard to parse much information from the visualization, ......
Read more >
How to fix the dependency graph to resolve deduplicate errors?
I understand that the clean way to fix it is by fixing my dependencies. The conflicting dependencies from the example below seem to...
Read more >
Analyze Project Dependencies - MATLAB & Simulink
When you run a dependency analysis, the Dependency Analyzer identifies problems, such as missing files, files not in the project, unsaved changes, ...
Read more >
NuGet Package Dependency Resolution - Microsoft Learn
This produces what's called a dependency graph that describes the ... NuGet generates an error when an exact package version is not ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found