Closed uus-dev closed 10 months ago
Hi @uus-dev thanks for reporting this. For me to figure out what's going on here, I need some more info.
Could you provide some logs?
Go to Help
> Diagnostic Tools
> Debug Log Settings.
.. and then insert #dev.nx.console:trace
. Then paste the idea.log
or sections of it when the error happens.
Also the daemon.log
& daemon-error.log
would be useful. You can find their location by running nx daemon --log
I have encountered this error today and the logs stated that I was running a JetBrains IDE with missing JCEF functionality. So I installed the JetBrains IDE with the bundled JetBrainsRuntime (JRE) instead of the regular version that I had installed and the Nx Generate UI was working again.
Hey that's super useful, thanks! I'll add a check & notification to make this easier to spot in the future.
Hey @uus-dev can you check whether you get that same log? If it is, you need to run with the bundled JBR as @clemenscodes is saying. I made a PR to show a notification when this happens.
Hi @uus-dev thanks for reporting this. For me to figure out what's going on here, I need some more info. Could you provide some logs? Go to
Help
>Diagnostic Tools
>Debug Log Settings.
.. and then insert#dev.nx.console:trace
. Then paste theidea.log
or sections of it when the error happens.Also the
daemon.log
&daemon-error.log
would be useful. You can find their location by runningnx daemon --log
Hey @MaxKless.
idea.log
2023-10-19 11:46:08,960 [ 84605] FINER - #dev.nx.console.nxls.NxlsWrapper - Sending request to nxls: nx/generators (NxGeneratorsRequest(options=NxGeneratorsRequestOptions(includeHidden=false, includeNgAdd=false)))
2023-10-19 11:46:09,032 [ 84677] FINER - #dev.nx.console.nxls.NxlsWrapper - Result from nxls: [NxGenerator(name=@consensus/nx/util-migrations:convert-typescript-private-class-property-to-native-private-field, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/libs/nx/util-migrations/src/generators/convert-typescript-private-class-property-to-native-private-field/schema.json, data=NxGeneratorData(collection=@consensus/nx/util-migrations, name=convert-typescript-private-class-property-to-native-private-field, description=Convert class properties with TypeScript's `private` access modifier to native `#`-prefixed class properties, type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@angular/cdk:drag-drop, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/cdk/schematics/ng-generate/drag-drop/schema.json, data=NxGeneratorData(collection=@angular/cdk, name=drag-drop, description=Generates a component using the Drag and Drop module, type=other, aliases=[dragdrop, drag-and-drop]), options=null, contextValues=null), NxGenerator(name=@angular/core:standalone-migration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/core/schematics/ng-generate/standalone-migration/schema.json, data=NxGeneratorData(collection=@angular/core, name=standalone-migration, description=Converts the entire application or a part of it to standalone, type=other, aliases=[standalone]), options=null, contextValues=null), NxGenerator(name=@angular/material:dashboard, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/material/schematics/ng-generate/dashboard/schema.json, data=NxGeneratorData(collection=@angular/material, name=dashboard, description=Create a card-based dashboard component, type=other, aliases=[material-dashboard]), options=null, contextValues=null), NxGenerator(name=@angular/material:table, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/material/schematics/ng-generate/table/schema.json, data=NxGeneratorData(collection=@angular/material, name=table, description=Create a component that displays data with a data-table, type=other, aliases=[material-table]), options=null, contextValues=null), NxGenerator(name=@angular/material:navigation, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/material/schematics/ng-generate/navigation/schema.json, data=NxGeneratorData(collection=@angular/material, name=navigation, description=Create a component with a responsive sidenav for navigation, type=other, aliases=[material-nav, materialNav, nav]), options=null, contextValues=null), NxGenerator(name=@angular/material:tree, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/material/schematics/ng-generate/tree/schema.json, data=NxGeneratorData(collection=@angular/material, name=tree, description=Create a file tree component., type=other, aliases=[material-tree]), options=null, contextValues=null), NxGenerator(name=@angular/material:addressForm, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/material/schematics/ng-generate/address-form/schema.json, data=NxGeneratorData(collection=@angular/material, name=addressForm, description=Create a component with an address form, type=other, aliases=[address-form, material-address-form, material-addressForm]), options=null, contextValues=null), NxGenerator(name=@angular/material:mdcMigration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@angular/material/schematics/ng-generate/mdc-migration/schema.json, data=NxGeneratorData(collection=@angular/material, name=mdcMigration, description=Migrate to MDC-based Angular Material components, type=other, aliases=[mdc-migration]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:action, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/action/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=action, description=Add store actions, type=other, aliases=[a]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:container, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/container/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=container, description=Add store container component, type=other, aliases=[co]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:effect, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/effect/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=effect, description=Add side effect class, type=other, aliases=[ef]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:entity, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/entity/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=entity, description=Add entity state, type=other, aliases=[en]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:feature, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/feature/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=feature, description=Add feature state, type=other, aliases=[f]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:ngrx-push-migration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/ngrx-push-migration/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=ngrx-push-migration, description=Migration to replace the `async` pipe with `ngrxPush`, type=other, aliases=[ngrxpush]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:reducer, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/reducer/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=reducer, description=Add state reducer, type=other, aliases=[r]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:store, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/store/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=store, description=Adds initial setup for state management, type=other, aliases=[st]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:selector, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/selector/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=selector, description=Add selectors, type=other, aliases=[se]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:data, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/data/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=data, description=Adds a data entity service, type=other, aliases=[dt]), options=null, contextValues=null), NxGenerator(name=@ngrx/schematics:component-store, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@ngrx/schematics/src/component-store/schema.json, data=NxGeneratorData(collection=@ngrx/schematics, name=component-store, description=Add component store., type=other, aliases=[cs]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:service-worker, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/service-worker/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=service-worker, description=Initializes a service worker setup., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:application, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/application/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=application, description=Create an Angular application., type=other, aliases=[app]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:class, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/class/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=class, description=Create a class., type=other, aliases=[cl]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:component, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/component/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=component, description=Create an Angular component., type=other, aliases=[c]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:directive, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/directive/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=directive, description=Create an Angular directive., type=other, aliases=[d]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:enum, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/enum/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=enum, description=Create an enumeration., type=other, aliases=[e]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:guard, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/guard/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=guard, description=Create a guard., type=other, aliases=[g]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:resolver, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/resolver/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=resolver, description=Create a resolver., type=other, aliases=[r]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:interceptor, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/interceptor/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=interceptor, description=Create an interceptor., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:interface, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/interface/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=interface, description=Create an interface., type=other, aliases=[i]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:module, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/module/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=module, description=Create an Angular module., type=other, aliases=[m]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:pipe, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/pipe/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=pipe, description=Create an Angular pipe., type=other, aliases=[p]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:service, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/service/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=service, description=Create an Angular service., type=other, aliases=[s]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:app-shell, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/app-shell/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=app-shell, description=Create an application shell., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:library, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/library/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=library, description=Generate a library project for Angular., type=other, aliases=[lib]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:web-worker, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/web-worker/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=web-worker, description=Create a Web Worker., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:environments, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/environments/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=environments, description=Generate project environment files., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@schematics/angular:config, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@schematics/angular/config/schema.json, data=NxGeneratorData(collection=@schematics/angular, name=config, description=Generates a configuration file., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:application, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/application/schema.json, data=NxGeneratorData(collection=@nx/angular, name=application, description=Creates an Angular application., type=application, aliases=[app]), options=null, contextValues=null), NxGenerator(name=@nx/angular:component, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/component/schema.json, data=NxGeneratorData(collection=@nx/angular, name=component, description=Generate an Angular Component., type=other, aliases=[c]), options=null, contextValues=null), NxGenerator(name=@nx/angular:component-test, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/component-test/schema.json, data=NxGeneratorData(collection=@nx/angular, name=component-test, description=Creates a cypress component test file for a component., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:convert-tslint-to-eslint, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/convert-tslint-to-eslint/schema.json, data=NxGeneratorData(collection=@nx/angular, name=convert-tslint-to-eslint, description=Converts a project from TSLint to ESLint., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:directive, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/directive/schema.json, data=NxGeneratorData(collection=@nx/angular, name=directive, description=Generate an Angular directive., type=other, aliases=[d]), options=null, contextValues=null), NxGenerator(name=@nx/angular:library, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/library/schema.json, data=NxGeneratorData(collection=@nx/angular, name=library, description=Creates an Angular library., type=library, aliases=[lib]), options=null, contextValues=null), NxGenerator(name=@nx/angular:library-secondary-entry-point, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/library-secondary-entry-point/schema.json, data=NxGeneratorData(collection=@nx/angular, name=library-secondary-entry-point, description=Creates a secondary entry point for an Angular publishable library., type=other, aliases=[secondary-entry-point, entry-point]), options=null, contextValues=null), NxGenerator(name=@nx/angular:remote, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/remote/schema.json, data=NxGeneratorData(collection=@nx/angular, name=remote, description=Generate a Remote Angular Module Federation Application., type=application, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:move, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/move/schema.json, data=NxGeneratorData(collection=@nx/angular, name=move, description=Moves an Angular application or library to another folder within the workspace and updates the project configuration., type=other, aliases=[mv]), options=null, contextValues=null), NxGenerator(name=@nx/angular:convert-to-with-mf, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/convert-to-with-mf/schema.json, data=NxGeneratorData(collection=@nx/angular, name=convert-to-with-mf, description=Converts an old micro frontend configuration to use the new `withModuleFederation` helper. It will run successfully if the following conditions are met:
- Is either a host or remote application
- Shared npm package configurations have not been modified
- Name used to identify the Micro Frontend application matches the project name
{% callout type="warning" title="Overrides" %}This generator will overwrite your webpack config. If you have additional custom configuration in your config file, it will be lost!{% /callout %}, type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:host, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/host/schema.json, data=NxGeneratorData(collection=@nx/angular, name=host, description=Generate a Host Angular Module Federation Application., type=application, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:ngrx-feature-store, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/ngrx-feature-store/schema.json, data=NxGeneratorData(collection=@nx/angular, name=ngrx-feature-store, description=Adds an NgRx Feature Store to an application or library., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:ngrx-root-store, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/ngrx-root-store/schema.json, data=NxGeneratorData(collection=@nx/angular, name=ngrx-root-store, description=Adds an NgRx Root Store to an application., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:pipe, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/pipe/schema.json, data=NxGeneratorData(collection=@nx/angular, name=pipe, description=Generate an Angular Pipe, type=other, aliases=[p]), options=null, contextValues=null), NxGenerator(name=@nx/angular:scam-to-standalone, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/scam-to-standalone/schema.json, data=NxGeneratorData(collection=@nx/angular, name=scam-to-standalone, description=Convert an existing Single Component Angular Module (SCAM) to a Standalone Component., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:scam, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/scam/schema.json, data=NxGeneratorData(collection=@nx/angular, name=scam, description=Generate a component with an accompanying Single Component Angular Module (SCAM)., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:scam-directive, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/scam-directive/schema.json, data=NxGeneratorData(collection=@nx/angular, name=scam-directive, description=Generate a directive with an accompanying Single Component Angular Module (SCAM)., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:scam-pipe, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/scam-pipe/schema.json, data=NxGeneratorData(collection=@nx/angular, name=scam-pipe, description=Generate a pipe with an accompanying Single Component Angular Module (SCAM)., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:setup-mf, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/setup-mf/schema.json, data=NxGeneratorData(collection=@nx/angular, name=setup-mf, description=Generate a Module Federation configuration for a given Angular application., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:setup-ssr, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/setup-ssr/schema.json, data=NxGeneratorData(collection=@nx/angular, name=setup-ssr, description=Generate Angular Universal (SSR) setup for an Angular application., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:setup-tailwind, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/setup-tailwind/schema.json, data=NxGeneratorData(collection=@nx/angular, name=setup-tailwind, description=Configures Tailwind CSS for an application or a buildable/publishable library., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:stories, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/stories/schema.json, data=NxGeneratorData(collection=@nx/angular, name=stories, description=Creates stories/specs for all components declared in a project., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:storybook-configuration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/storybook-configuration/schema.json, data=NxGeneratorData(collection=@nx/angular, name=storybook-configuration, description=Adds Storybook configuration to a project., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:cypress-component-configuration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/cypress-component-configuration/schema.json, data=NxGeneratorData(collection=@nx/angular, name=cypress-component-configuration, description=Setup Cypress component testing for a project., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/angular:web-worker, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/angular/src/generators/web-worker/schema.json, data=NxGeneratorData(collection=@nx/angular, name=web-worker, description=Creates a Web Worker., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/cypress:cypress-project, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/cypress/src/generators/cypress-project/schema.json, data=NxGeneratorData(collection=@nx/cypress, name=cypress-project, description=Add a Cypress E2E Project., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/cypress:cypress-e2e-configuration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/cypress/src/generators/cypress-e2e-configuration/schema.json, data=NxGeneratorData(collection=@nx/cypress, name=cypress-e2e-configuration, description=Add a Cypress E2E Configuration to an existing project., type=other, aliases=[e2e, e2e-config]), options=null, contextValues=null), NxGenerator(name=@nx/cypress:cypress-component-configuration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/cypress/src/generators/cypress-component-configuration/schema.json, data=NxGeneratorData(collection=@nx/cypress, name=cypress-component-configuration, description=Set up Cypress Component Test for a project, type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/cypress:migrate-to-cypress-11, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/cypress/src/generators/migrate-to-cypress-11/schema.json, data=NxGeneratorData(collection=@nx/cypress, name=migrate-to-cypress-11, description=Migrate existing Cypress e2e projects to Cypress v11, type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/js:library, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/js/src/generators/library/schema.json, data=NxGeneratorData(collection=@nx/js, name=library, description=Create a library., type=library, aliases=[lib]), options=null, contextValues=null), NxGenerator(name=@nx/js:convert-to-swc, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/js/src/generators/convert-to-swc/schema.json, data=NxGeneratorData(collection=@nx/js, name=convert-to-swc, description=Convert a TypeScript library to compile with SWC., type=library, aliases=[swc]), options=null, contextValues=null), NxGenerator(name=@nx/js:setup-verdaccio, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/js/src/generators/setup-verdaccio/schema.json, data=NxGeneratorData(collection=@nx/js, name=setup-verdaccio, description=Setup Verdaccio for local package management., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/js:setup-build, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/js/src/generators/setup-build/schema.json, data=NxGeneratorData(collection=@nx/js, name=setup-build, description=setup-build generator, type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/linter:workspace-rule, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/linter/src/generators/workspace-rule/schema.json, data=NxGeneratorData(collection=@nx/linter, name=workspace-rule, description=Create a new Workspace ESLint rule., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/plugin:plugin, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/plugin/src/generators/plugin/schema.json, data=NxGeneratorData(collection=@nx/plugin, name=plugin, description=Create a Nx Plugin., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/plugin:create-package, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/plugin/src/generators/create-package/schema.json, data=NxGeneratorData(collection=@nx/plugin, name=create-package, description=Create a package which can be used by npx to create a new workspace, type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/plugin:e2e-project, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/plugin/src/generators/e2e-project/schema.json, data=NxGeneratorData(collection=@nx/plugin, name=e2e-project, description=Create a E2E application for a Nx Plugin., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/plugin:migration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/plugin/src/generators/migration/schema.json, data=NxGeneratorData(collection=@nx/plugin, name=migration, description=Create a migration for an Nx Plugin., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/plugin:generator, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/plugin/src/generators/generator/schema.json, data=NxGeneratorData(collection=@nx/plugin, name=generator, description=Create a generator for an Nx Plugin., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/plugin:executor, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/plugin/src/generators/executor/schema.json, data=NxGeneratorData(collection=@nx/plugin, name=executor, description=Create an executor for an Nx Plugin., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/plugin:plugin-lint-checks, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/plugin/src/generators/lint-checks/schema.json, data=NxGeneratorData(collection=@nx/plugin, name=plugin-lint-checks, description=Adds linting configuration to validate common json files for nx plugins., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/storybook:configuration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/storybook/src/generators/configuration/schema.json, data=NxGeneratorData(collection=@nx/storybook, name=configuration, description=Add Storybook configuration to a UI library or an application., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/storybook:cypress-project, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/storybook/src/generators/cypress-project/schema.json, data=NxGeneratorData(collection=@nx/storybook, name=cypress-project, description=Add cypress e2e app to test a UI library that is set up for Storybook., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/storybook:migrate-7, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/storybook/src/generators/migrate-7/schema.json, data=NxGeneratorData(collection=@nx/storybook, name=migrate-7, description=Migrate to Storybook version 7., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/workspace:move, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/workspace/src/generators/move/schema.json, data=NxGeneratorData(collection=@nx/workspace, name=move, description=Move an application or library to another folder., type=other, aliases=[mv]), options=null, contextValues=null), NxGenerator(name=@nx/workspace:remove, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/workspace/src/generators/remove/schema.json, data=NxGeneratorData(collection=@nx/workspace, name=remove, description=Remove an application or library., type=other, aliases=[rm]), options=null, contextValues=null), NxGenerator(name=@nx/workspace:workspace-generator, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/workspace/src/generators/workspace-generator/schema.json, data=NxGeneratorData(collection=@nx/workspace, name=workspace-generator, description=Generates a workspace generator., type=other, aliases=[workspace-schematic]), options=null, contextValues=null), NxGenerator(name=@nx/workspace:run-commands, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/workspace/src/generators/run-commands/schema.json, data=NxGeneratorData(collection=@nx/workspace, name=run-commands, description=Generates a target to run any command in the terminal., type=other, aliases=[run-command, target]), options=null, contextValues=null), NxGenerator(name=@nx/workspace:fix-configuration, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/workspace/src/generators/convert-to-nx-project/schema.json, data=NxGeneratorData(collection=@nx/workspace, name=fix-configuration, description=Fixes projects configuration, type=other, aliases=[convert-to-nx-project]), options=null, contextValues=null), NxGenerator(name=@nx/workspace:npm-package, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/workspace/src/generators/npm-package/schema.json, data=NxGeneratorData(collection=@nx/workspace, name=npm-package, description=Create a minimal NPM package., type=library, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nx/workspace:ci-workflow, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nx/workspace/src/generators/ci-workflow/schema.json, data=NxGeneratorData(collection=@nx/workspace, name=ci-workflow, description=Generate a CI workflow., type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nxext/capacitor:capacitor-project, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nxext/capacitor/src/generators/capacitor-project/schema.json, data=NxGeneratorData(collection=@nxext/capacitor, name=capacitor-project, description=Add a Capacitor project, type=other, aliases=[]), options=null, contextValues=null), NxGenerator(name=@nxext/capacitor:application, path=/Users/uus/Documents/repos/connect/Connect/ng-app-monolith/node_modules/@nxext/capacitor/src/generators/application/schema.json, data=NxGeneratorData(collection=@nxext/capacitor, name=application, description=application generator, type=other, aliases=[app]), options=null, contextValues=null)]
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - Exception in thread "DefaultDispatcher-worker-1" java.lang.NoClassDefFoundError: Could not initialize class kotlinx.coroutines.CoroutineExceptionHandlerImplKt
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:33)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.handleFatalException(DispatchedTask.kt:146)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:115)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - Caused by: java.lang.ExceptionInInitializerError: Exception java.util.ServiceConfigurationError: kotlinx.coroutines.CoroutineExceptionHandler: com.intellij.openapi.application.impl.CoroutineExceptionHandlerImpl not a subtype [in thread "DefaultDispatcher-worker-1"]
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:787)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:817)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:808)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.CoroutineExceptionHandlerImplKt.<clinit>(CoroutineExceptionHandlerImpl.kt:23)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:33)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.StandaloneCoroutine.handleJobException(Builders.common.kt:196)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:229)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:906)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:863)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:828)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.debug.internal.DebugProbesImpl$CoroutineOwner.resumeWith(DebugProbesImpl.kt:538)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2023-10-19 11:46:09,045 [ 84690] INFO - STDERR - ... 4 more
I could not find any daemon-error.log
. But here you have the output from daemon.log
for today, where this error happened multiple times:
[NX Daemon Server] - 2023-10-19T09:32:00.798Z - Started listening on: /var/folders/pj/srfzvzn53k3b1zwg0v3ft1wm0000gn/T/ecaa0c613632bcd7a80b/d.sock
[NX Daemon Server] - 2023-10-19T09:32:00.801Z - [WATCHER]: Subscribed to changes within: /Users/uus/Documents/repos/connect/Connect/ng-app-monolith
[NX Daemon Server] - 2023-10-19T09:32:00.802Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:32:00.804Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:32:00.808Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:32:00.810Z - [REQUEST]: Client Request for Project Graph Received
fatal: no path specified
[NX Daemon Server] - 2023-10-19T09:32:00.934Z - [REQUEST]: Updated file-hasher based on watched changes, recomputing project graph...
[NX Daemon Server] - 2023-10-19T09:32:00.934Z - [REQUEST]:
[NX Daemon Server] - 2023-10-19T09:32:00.934Z - [REQUEST]:
[NX Daemon Server] - 2023-10-19T09:32:01.187Z - [REQUEST]: Responding to the client. project-graph
[NX Daemon Server] - 2023-10-19T09:32:01.191Z - Time taken for 'total for creating and serializing project graph' 377.7383749485016ms
[NX Daemon Server] - 2023-10-19T09:32:01.203Z - Done responding to the client project-graph
[NX Daemon Server] - 2023-10-19T09:32:01.204Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 378. Response time: 17.
[NX Daemon Server] - 2023-10-19T09:32:01.213Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:32:01.213Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:32:01.214Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:32:01.215Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:32:01.241Z - [REQUEST]: Responding to the client. handleRequestFileData
[NX Daemon Server] - 2023-10-19T09:32:01.251Z - Done responding to the client handleRequestFileData
[NX Daemon Server] - 2023-10-19T09:32:01.251Z - Handled REQUEST_FILE_DATA. Handling time: 26. Response time: 10.
[NX Daemon Server] - 2023-10-19T09:35:00.650Z - Established a connection. Number of open connections: 2
[NX Daemon Server] - 2023-10-19T09:35:00.650Z - Closed a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:37:26.502Z - [WATCHER]: Processing file changes in outputs
[NX Daemon Server] - 2023-10-19T09:37:26.997Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:37:38.060Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:37:38.066Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:37:38.067Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:37:38.070Z - [REQUEST]: Client Request for Project Graph Received
[NX Daemon Server] - 2023-10-19T09:37:38.070Z - [REQUEST]: Responding to the client. project-graph
[NX Daemon Server] - 2023-10-19T09:37:38.078Z - Time taken for 'total for creating and serializing project graph' 0.3838329315185547ms
[NX Daemon Server] - 2023-10-19T09:37:38.085Z - Done responding to the client project-graph
[NX Daemon Server] - 2023-10-19T09:37:38.085Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 0. Response time: 15.
[NX Daemon Server] - 2023-10-19T09:37:38.093Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:37:38.093Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:37:38.094Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:37:38.094Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:37:38.114Z - [REQUEST]: Responding to the client. handleRequestFileData
[NX Daemon Server] - 2023-10-19T09:37:38.132Z - Done responding to the client handleRequestFileData
[NX Daemon Server] - 2023-10-19T09:37:38.132Z - Handled REQUEST_FILE_DATA. Handling time: 18. Response time: 18.
[NX Daemon Server] - 2023-10-19T09:44:43.377Z - [WATCHER]: Processing file changes in outputs
[NX Daemon Server] - 2023-10-19T09:44:43.861Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:44:49.870Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:44:49.871Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:44:49.871Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:44:49.873Z - [REQUEST]: Client Request for Project Graph Received
[NX Daemon Server] - 2023-10-19T09:44:49.873Z - [REQUEST]: Responding to the client. project-graph
[NX Daemon Server] - 2023-10-19T09:44:49.880Z - Time taken for 'total for creating and serializing project graph' 0.2180420160293579ms
[NX Daemon Server] - 2023-10-19T09:44:49.891Z - Done responding to the client project-graph
[NX Daemon Server] - 2023-10-19T09:44:49.891Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 0. Response time: 18.
[NX Daemon Server] - 2023-10-19T09:44:49.905Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:44:49.906Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:44:49.906Z - Closed a connection. Number of open connections: 0
[NX Daemon Server] - 2023-10-19T09:44:49.906Z - Established a connection. Number of open connections: 1
[NX Daemon Server] - 2023-10-19T09:44:49.926Z - [REQUEST]: Responding to the client. handleRequestFileData
[NX Daemon Server] - 2023-10-19T09:44:49.936Z - Done responding to the client handleRequestFileData
[NX Daemon Server] - 2023-10-19T09:44:49.936Z - Handled REQUEST_FILE_DATA. Handling time: 19. Response time: 10.
I can't see any nx-console specific issues in your log, it looks like something is up with kotlin coroutines? I've updated all dependencies in the hope that this will fix it.
Could you try manually installing the plugin below?
Just go to Settings -> Plugins -> ⚙️
and select Install Plugin from Disk
Let me know if that fixes your error nx-console-0.0.1.zip
I can't see any nx-console specific issues in your log, it looks like something is up with kotlin coroutines? I've updated all dependencies in the hope that this will fix it. Could you try manually installing the plugin below? Just go to
Settings -> Plugins -> ⚙️
and selectInstall Plugin from Disk
Let me know if that fixes your error nx-console-0.0.1.zip
Hey @MaxKless. Sorry for not getting back to you earlier. I tested by manually installing the plugin nx-console-0.0.1.zip
, and I still got the same issue. Something is up with the kotlin coroutines. It throws and NoClassDefFoundError
for the kotlinx.coroutines.internal.CoroutineExceptionHandlerImplKt
class:
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - Exception in thread "DefaultDispatcher-worker-2" java.lang.NoClassDefFoundError: Could not initialize class kotlinx.coroutines.internal.CoroutineExceptionHandlerImplKt
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - at kotlinx.coroutines.internal.CoroutineExceptionHandlerImpl_commonKt.handleUncaughtCoroutineException(CoroutineExceptionHandlerImpl.common.kt:36)
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:32)
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.handleFatalException$kotlinx_coroutines_core(DispatchedTask.kt:148)
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:117)
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
2023-10-31 09:55:48,945 [ 39663] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - Caused by: java.lang.ExceptionInInitializerError: Exception java.util.ServiceConfigurationError: kotlinx.coroutines.CoroutineExceptionHandler: com.intellij.openapi.application.impl.CoroutineExceptionHandlerImpl not a subtype [in thread "DefaultDispatcher-worker-2"]
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:787)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:817)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:808)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.internal.CoroutineExceptionHandlerImplKt.<clinit>(CoroutineExceptionHandlerImpl.kt:24)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.internal.CoroutineExceptionHandlerImpl_commonKt.handleUncaughtCoroutineException(CoroutineExceptionHandlerImpl.common.kt:36)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:32)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.StandaloneCoroutine.handleJobException(Builders.common.kt:194)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:231)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:910)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:867)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:832)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.debug.internal.DebugProbesImpl$CoroutineOwner.resumeWith(DebugProbesImpl.kt:538)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
2023-10-31 09:55:48,946 [ 39664] INFO - STDERR - ... 4 more
Concerning running with the bundled JetBrainsRuntime (JRE). I am already running with the following boot runtime:
Hi, I'm from the IntelliJ SDK Advocacy team.
It seems the issue is caused by the plugin explicitly bundling Kotlin Coroutines Libraries https://github.com/nrwl/nx-console/blob/master/apps/intellij/build.gradle.kts#L43
Any plugin must build against the bundled Kotlin Coroutines Libraries from the target IDE instead. Please also make sure it is not added via transitive dependencies.
Please also keep the Gradle IntelliJ Plugin always updated to the latest version (currently 1.16.0) https://github.com/nrwl/nx-console/blob/master/apps/intellij/build.gradle.kts#L22.
@MaxKless Is there an ETA on this bug?
should be fixed with https://github.com/nrwl/nx-console/pull/1952
Hey @MaxKless. I'm just writing here, as I still have issues running the Nx Generate (UI) in Webstorm.
I have just updated my Webstorm to latest version 2024.1.2 (Build #WS-241.15989.105, built on April 23, 2024) and my Nx Console plugin to latest version 1.25.0.
Also I have chosen the following Boot Java Runtime for my Webstorm IDE, with JCEF:
But when I try to access the Nx Generate (UI) nothing happens and the following error shows up in the logs:
2024-06-12 00:36:46,296 [ 752748] FINER - #dev.nx.console.nxls.NxlsWrapper - Sending request to nxls: nx/generators (NxGeneratorsRequest(options=NxGeneratorsRequestOptions(includeHidden=false, includeNgAdd=false)))
2024-06-12 00:36:46,386 [ 752838] FINER - #dev.nx.console.nxls.NxlsWrapper - Result from nxls: [NxGenerator(name=@consensus/shared/shared/nx/nx-util-migrations:convert-typescript-private-class-pr
2024-06-12 00:36:46,386 [ 752838] INFO - STDERR - Exception in thread "DefaultDispatcher-worker-39" java.lang.AssertionError
2024-06-12 00:36:46,386 [ 752838] INFO - STDERR - at com.intellij.openapi.util.text.StringUtil.shortenTextWithEllipsis(StringUtil.java:2695)
2024-06-12 00:36:46,386 [ 752838] INFO - STDERR - at com.intellij.openapi.util.text.StringUtil.shortenTextWithEllipsis(StringUtil.java:2709)
2024-06-12 00:36:46,386 [ 752838] INFO - STDERR - at com.intellij.openapi.util.text.StringUtil.shortenTextWithEllipsis(StringUtil.java:2679)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at dev.nx.console.generate.ui.NxGeneratorListCellRenderer.customizeCellRenderer(NxGeneratorListCellRenderer.kt:38)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at dev.nx.console.generate.ui.NxGeneratorListCellRenderer.customizeCellRenderer(NxGeneratorListCellRenderer.kt:14)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at com.intellij.ui.ColoredListCellRenderer.getListCellRendererComponent(ColoredListCellRenderer.java:45)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at com.intellij.ui.ExpandedItemListCellRendererWrapper.getListCellRendererComponent(ExpandedItemListCellRendererWrapper.java:24)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at com.intellij.ui.components.WideSelectionListUI.updateLayoutState(WideSelectionListUI.java:197)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1394)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2815)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:231)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:206)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:258)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:459)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:469)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:513)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at java.desktop/javax.swing.JList.setSelectedIndex(JList.java:2232)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at com.intellij.ui.popup.PopupListAdapter.autoSelect(PopupListAdapter.java:102)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at com.intellij.openapi.ui.popup.PopupChooserBuilder.createPopup(PopupChooserBuilder.java:345)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at dev.nx.console.generate.NxGenerateService$selectGenerator$2$1.invokeSuspend(NxGenerateService.kt:98)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
2024-06-12 00:36:46,387 [ 752839] INFO - STDERR - Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [ComponentManager(ProjectImpl@1744776794), CoroutineName(dev.nx.console.generate.NxGenerateService), StandaloneCoroutine{Cancelling}@2f08f3a5, Dispatchers.Default]
I'm just writing here because this may just be an issue on my end, but I need some help.
Do you have any custom generators you're using? The issue here is probably that you're using a generator that doesn't have a description. I'll make a PR to handle this better but that's something you could look in to right away.
Do you have any custom generators you're using? The issue here is probably that you're using a generator that doesn't have a description. I'll make a PR to handle this better but that's something you could look in to right away.
Sorry for late response. No I'm not using any custom generators.
I think the generator in the log is @consensus/shared/shared/nx/nx-util-migrations:convert-typescript-private-class-pr
which seems pretty custom no?
Either way this should be fixed on the latest version, make sure to update and check it out :)
I think the generator in the log is
@consensus/shared/shared/nx/nx-util-migrations:convert-typescript-private-class-pr
which seems pretty custom no? Either way this should be fixed on the latest version, make sure to update and check it out :)
Hi @MaxKless
I got the time to try the latest version out.
I have just updated my Webstorm to latest version 2024.1.5 (Build #WS-241.18034.50, built on June 19, 2024) and my Nx Console plugin to latest version 1.27.0.
It works fine without custom generators. But when I have my custom generator I still get the following error.
Do you know what the issue is?
2024-07-01 21:21:57,676 [ 940542] FINER - #dev.nx.console.nxls.NxlsWrapper - Sending request to nxls: nx/generators (NxGeneratorsRequest(options=NxGeneratorsRequestOptions(includeHidden=false, includeNgAdd=false)))
2024-07-01 21:21:57,774 [ 940640] FINER - #dev.nx.console.nxls.NxlsWrapper - Result from nxls: [NxGenerator(name=@consensus/nx:angular-library, schemaPath=/Users/uus/Documents/repos/connect/Conne
2024-07-01 21:21:57,775 [ 940641] INFO - STDERR - Exception in thread "DefaultDispatcher-worker-19" java.lang.AssertionError
2024-07-01 21:21:57,775 [ 940641] INFO - STDERR - at com.intellij.openapi.util.text.StringUtil.shortenTextWithEllipsis(StringUtil.java:2695)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at com.intellij.openapi.util.text.StringUtil.shortenTextWithEllipsis(StringUtil.java:2709)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at com.intellij.openapi.util.text.StringUtil.shortenTextWithEllipsis(StringUtil.java:2679)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at dev.nx.console.generate.ui.NxGeneratorListCellRenderer.customizeCellRenderer(NxGeneratorListCellRenderer.kt:39)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at dev.nx.console.generate.ui.NxGeneratorListCellRenderer.customizeCellRenderer(NxGeneratorListCellRenderer.kt:14)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at com.intellij.ui.ColoredListCellRenderer.getListCellRendererComponent(ColoredListCellRenderer.java:45)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at com.intellij.ui.ExpandedItemListCellRendererWrapper.getListCellRendererComponent(ExpandedItemListCellRendererWrapper.java:24)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at com.intellij.ui.components.WideSelectionListUI.updateLayoutState(WideSelectionListUI.java:197)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1394)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2815)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:224)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:204)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:251)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:448)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:458)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:502)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at java.desktop/javax.swing.JList.setSelectedIndex(JList.java:2232)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at com.intellij.ui.popup.PopupListAdapter.autoSelect(PopupListAdapter.java:102)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at com.intellij.openapi.ui.popup.PopupChooserBuilder.createPopup(PopupChooserBuilder.java:345)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at dev.nx.console.generate.NxGenerateService$selectGenerator$2$1.invokeSuspend(NxGenerateService.kt:98)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
2024-07-01 21:21:57,776 [ 940642] INFO - STDERR - Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [ComponentManager(ProjectImpl@1806946281), CoroutineName(dev.nx.console.generate.NxGenerateService), StandaloneCoroutine{Cancelling}@e4f5796, Dispatchers.Default]
@MaxKless
This is the schema.json
file for the custom generator @consensus/nx:angular-library
mentioned in the latest comment by @uus-dev (https://github.com/nrwl/nx-console/issues/1903#issuecomment-2200870609).
Let us know if you need additional details or if we should submit a separate issue for custom generators.
By the way, it's correct that the custom generator @consensus/nx/util-migrations:convert-typescript-private-class-property-to-native-private-field
doesn't have a description
property in its schema.json
file as suggested by @MaxKless in https://github.com/nrwl/nx-console/issues/1903#issuecomment-2162382112. However, the custom generator @consensus/nx:library-generator
does have a description
property.
Since it's another com.intellij.openapi.util.text.StringUtil.shortenTextWithEllipsis
exception, let us know if we're missing another property in our schema.json
file that is expected by the Nx Console extension.
No it was because the name was too long :) Here's a PR fixing it https://github.com/nrwl/nx-console/pull/2210
I can confirm that the Nx Generate UI is now working in Webstorm. I just tested using version 1.28.2 of the Nx Console plugin.
Current Behavior
In the WebStorm IDE I can't use the "Nx Generate (UI)", which opens the UI view to generate libraries, components etc. This has worked before and I can see the "Nx Generate (UI)" button when I right click folders.
Refactor > "Move Nx Project" and Refactor > "Remove Nx Project" still works as well as "Nx: Run Target".
Expected Behavior
I expect to see the Nx Geneate UI, where you first see a dropdown where you can select what to generate and then after that you can see the full generate window where you can type in the relevant information and choose the relevant options to generate the library, component etc.
Steps to Reproduce
Failure Logs / Images / Videos
https://github.com/nrwl/nx-console/assets/15202984/be565296-78b4-45a1-85d0-c030cd28dd70
Environment
nx report