Skip to content

OpenAPI generator plugin doesn't seem to work with the latest NX #85

@cromefire

Description

@cromefire

It seems that the plugin still references the old @nwrl namespace which doesn't seem to be present in current NX anymore:

>  NX  Generating @trumbitta/nx-plugin-openapi:api-spec

✔ Do you want me to also create a sample spec file for you? (y/N) · false

 >  NX   Cannot find module '@nrwl/workspace/src/utilities/run-tasks-in-serial'

   Require stack:
   - /node_modules/@trumbitta/nx-plugin-openapi/src/generators/api-spec/generator.js
   - /node_modules/nx/src/config/schema-utils.js
   - /node_modules/nx/src/command-line/generate/generator-utils.js
   - /node_modules/nx/src/command-line/generate/generate.js
   - /node_modules/nx/src/command-line/generate/command-object.js
   - /node_modules/nx/src/command-line/nx-commands.js
   - /node_modules/nx/bin/init-local.js
   - /node_modules/nx/bin/nx.js
   - .nvm/versions/node/v18.18.2/lib/node_modules/nx/bin/nx.js
   Pass --verbose to see the stacktrace.

so it would probably be nice if that was updated to reference the current packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions