-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
[Bug] createNodesFor is not a function since @nxrocks/nx-spring-boot 9.3.0 #214
Comments
Hi @batnyu Thanks for using the plugin and for reporting this. The signature of
$ npx nx reset ( to kill Nx daemon)
$ rm -rf node_modules
$ npm install
|
Hi @tinesoft, thanks for your quick answer and your work on this project! I tried resetting Nx, node-modules but I get the same error. Here is the result of "npx nx report" Node : 20.10.0 nx : 18.0.4
|
Can you get me through the actions you took step by step, to have the issue? What I did:
My Nx Report $ npx nx report
> NX Report complete - copy this into the issue template
Node : 18.16.0
OS : win32-x64
npm : 9.5.1
nx : 18.0.4
@nx/js : 18.0.4
@nx/workspace : 18.0.4
@nx/devkit : 18.0.4
@nrwl/tao : 18.0.4
---------------------------------------
Community plugins:
@nxrocks/nx-spring-boot : 9.3.0
|
I confirm this happens to me too after upgrading to 9.3.0. For me it was like this:
And that's it. After these 2 steps, whenever I run an nx command I get the following error: Verbose dump of the command I ran:
|
I use the npm i @nxrocks/common-jvm@1.2.0
npm i @nxrocks/common@3.2.0 Hence it works when a new workspace is created but it breaks during updates. Maybe a good approach would be to specify versions more explicitly in the respective |
Hi @vixncu , @dagassmann Thanks for using the libraries and for the provided debug information (don't forget to ⭐ the project on Github, it helps ^^) @dagassmann You might be on something indeed... The Something must be broken somewhere in that process. I will have a closer look and let you know. Stay tuned |
I also encounter the problem. Nx at 18.0.6. Angular and flutter project. We use It impacts every NX command.
Downgrading to 8.1.0 fixes the issue. Please note we use yarn |
Closing, as it should be fixed in latest version of the plugin |
Plugin Name
@nxrocks/nx-spring-boot
Nx Report
NX (0 , common_jvm_1.createNodesFor) is not a function
Expected Behaviour
Project Graph generation to v2 API should work
Actual Behaviour
We receive the following error :
NX (0 , common_jvm_1.createNodesFor) is not a function
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: