Failed to patch Nx dep-graph for Vue support.
See original GitHub issueAfter a while I’ve tried it again with this package and the new version.
I’m running into a new issue right when I try to create an app:
$ node node_modules/@nx-plus/nuxt/patch-nx-dep-graph.js
Failed to patch Nx dep-graph for Vue support. Error: ENOENT: no such file or directory, open '/home/user/workspace/nuxt3-multi-page/node_modules/@nrwl/workspace/src/core/project-graph/build-dependencies/typescript-import-locator.js'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at patchNxDepGraph (/home/user/workspace/nuxt3-multi-page/node_modules/@nx-plus/nuxt/patch-nx-dep-graph.js:14:28)
at Object.<anonymous> (/home/user/workspace/nuxt3-multi-page/node_modules/@nx-plus/nuxt/patch-nx-dep-graph.js:29:1)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/user/workspace/nuxt3-multi-page/node_modules/@nrwl/workspace/src/core/project-graph/build-dependencies/typescript-import-locator.js'
}
I’ve tried it with nx version 13.10.3, is that a problem and only 13.0.0 supported?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
dep graph not generated due to errors · Issue #1551 · nrwl/nx
When I run npm run dep-graph It generates an image with all my libs and apps in a row with no connections between...
Read more >Fixing Nrwl Nx Monorepo Workspace Dependency Graph Error
If you are working on nx monorepo workspace and if you have notice below error and want to fix it then read this...
Read more >nrwl-nx/community - Gitter
Hi guys! We've updated a project to use nx 10.3.1, and in our pipeline we try to generate a SVG file from dep-graph...
Read more >Getting Started with Monorepo with Nx Nrwl - Rupesh Tiwari
The potential solution to this problem is Monorepo. You can put all of your JavaScript projects regardless of framework (angular, vue.js, react.
Read more >nx-vue3-vite - npm
In order to get nx dep-graph to work in a generated Vue app, the NX code responsible for parsing file extension must be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It would be nice to move to the official support, but the patch necessary is so simple vs what is required to implement a custom project-graph that I don’t imagine I’ll be implementing that anytime soon.
looks like, nx currently provide the solution to create graph plugins: https://nx.dev/extending-nx/project-graph-plugins
nxplus should support it