You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To build a new Docusaurus app in the apps directory, ready to go, with the provided name my-app.
Steps to Reproduce
Reproduces in a fresh Nx workspace.
npx create-nx-workspace@^14.0.0
npm install @nx-plus/docusaurus --save-dev
nx g @nx-plus/docusaurus:app my-app
Failure Logs
> NX Generating @nx-plus/docusaurus:application
> NX Cannot read properties of null (reading 'npmScope')
TypeError: Cannot read properties of null (reading 'npmScope')
at buildProjectConfigurationFromPackageJson (/home/username/Projects/doc_plugin_test/node_modules/nx/src/config/workspaces.js:513:16)
at buildWorkspaceConfigurationFromGlobs (/home/username/Projects/doc_plugin_test/node_modules/nx/src/config/workspaces.js:568:28)
at readRawWorkspaceJson (/home/username/Projects/doc_plugin_test/node_modules/nx/src/generators/utils/project-configuration.js:318:87)
at addProjectToWorkspaceJson (/home/username/Projects/doc_plugin_test/node_modules/nx/src/generators/utils/project-configuration.js:214:27)
at setProjectConfiguration (/home/username/Projects/doc_plugin_test/node_modules/nx/src/generators/utils/project-configuration.js:205:5)
at addProjectConfiguration (/home/username/Projects/doc_plugin_test/node_modules/nx/src/generators/utils/project-configuration.js:22:5)
at /home/username/Projects/doc_plugin_test/node_modules/@nx-plus/docusaurus/src/generators/application/generator.js:70:46
at Generator.next (<anonymous>)
at /home/username/Projects/doc_plugin_test/node_modules/tslib/tslib.js:118:75
at new Promise (<anonymous>)
Environment
Plugin name and version: @nx-plus/docusaurus: v14.1.0
> NX Report complete - copy this into the issue template
Node : 18.4.0
OS : linux x64
npm : 8.13.2
nx : 14.6.4
@nrwl/angular : Not Found
@nrwl/cypress : Not Found
@nrwl/detox : Not Found
@nrwl/devkit : 14.6.4
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 14.6.4
@nrwl/js : Not Found
@nrwl/linter : 14.6.4
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : Not Found
@nrwl/web : Not Found
@nrwl/workspace : 14.6.4
typescript : 4.8.2
---------------------------------------
Local workspace plugins:
---------------------------------------
Community plugins:
@nx-plus/docusaurus: 14.1.0
The text was updated successfully, but these errors were encountered:
Current Behavior
The Docusaurus Nx plugin errors out when running this command:
nx g @nx-plus/docusaurus:app my-app
Expected Behavior
To build a new Docusaurus app in the
apps
directory, ready to go, with the provided namemy-app
.Steps to Reproduce
Reproduces in a fresh Nx workspace.
npx create-nx-workspace@^14.0.0
npm install @nx-plus/docusaurus --save-dev
nx g @nx-plus/docusaurus:app my-app
Failure Logs
Environment
Plugin name and version: @nx-plus/docusaurus: v14.1.0
The text was updated successfully, but these errors were encountered: