We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I want to generate library in my monorepo and it fails because storybook package is missing.
To Reproduce Install package to nx pnpm add @nxext/stencil -D -w
pnpm add @nxext/stencil -D -w
Generate library nx g @nxext/stencil:library web-components --publishable --buildable --importPath=@lc/web-components --style=scss
nx g @nxext/stencil:library web-components --publishable --buildable --importPath=@lc/web-components --style=scss
Error:
nx g @nxext/stencil:library web-components --publishable --buildable --importPath=@o2/web-components --style=scss ✔ │ 3s │ 15:23:36 > NX Running global Nx CLI with PNPM may have issues. Prefer to use "pnpm" (https://pnpm.io/cli/exec) to execute commands in this workspace. TIP create a shortcut such as: alias pnx="pnpm nx --" > NX Generating @nxext/stencil:library > NX Cannot find module '@nrwl/storybook' Require stack: - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/@nxext+stencil@15.6.0_35y7vetm3zl3fgz26n4mrm47mi/node_modules/@nxext/stencil/src/generators/storybook-configuration/lib/add-dependencies.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/@nxext+stencil@15.6.0_35y7vetm3zl3fgz26n4mrm47mi/node_modules/@nxext/stencil/src/generators/storybook-configuration/generator.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/@nxext+stencil@15.6.0_35y7vetm3zl3fgz26n4mrm47mi/node_modules/@nxext/stencil/src/generators/make-lib-buildable/lib/update-tsconfig.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/@nxext+stencil@15.6.0_35y7vetm3zl3fgz26n4mrm47mi/node_modules/@nxext/stencil/src/generators/make-lib-buildable/make-lib-buildable.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/@nxext+stencil@15.6.0_35y7vetm3zl3fgz26n4mrm47mi/node_modules/@nxext/stencil/src/generators/library/generator.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/nx@15.8.5/node_modules/nx/src/config/workspaces.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/nx@15.8.5/node_modules/nx/src/config/configuration.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/nx@15.8.5/node_modules/nx/src/command-line/generate.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/nx@15.8.5/node_modules/nx/src/command-line/nx-commands.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/nx@15.8.5/node_modules/nx/bin/init-local.js - /Users/erich/Projects/O2/theme-libs/node_modules/.pnpm/nx@15.8.5/node_modules/nx/bin/nx.js - /Users/erich/.nvm/versions/node/v18.12.1/lib/node_modules/nx/bin/nx.js Pass --verbose to see the stacktrace.
Expected behavior Generation of the library should not require to have that package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I want to generate library in my monorepo and it fails because storybook package is missing.
To Reproduce
Install package to nx
pnpm add @nxext/stencil -D -w
Generate library
nx g @nxext/stencil:library web-components --publishable --buildable --importPath=@lc/web-components --style=scss
Error:
Expected behavior
Generation of the library should not require to have that package.
The text was updated successfully, but these errors were encountered: