nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.82k stars 2.38k forks source link

Incompatible Storybook Version: Please use a version of @storybook/angular higher than 6.4.0-rc.1 #8264

Closed hadrien-toma closed 2 years ago

hadrien-toma commented 2 years ago

Current Behavior

It fails to configure storybook in a fresh workspace.

Expected Behavior

Not fail.

Steps to Reproduce

rm --force --recursive ./tmp-workspace-wrapper
mkdir --parents ./tmp-workspace-wrapper
cd ./tmp-workspace-wrapper

npx create-nx-workspace@latest workspace --preset=empty --cli=nx --interactive=false --nx-cloud=false --packageManager=yarn
cd ./workspace

yarn add @ng-select/ng-option-highlight @ng-select/ng-select @ngrx/effects @ngrx/router-store @ngrx/store @ngx-formly/core @angular/service-worker ajv ajv-formats angular2-toaster angular-auth-oidc-client class-transformer class-validator date-fns immer libphonenumber-js lodash.random monaco-editor mustache nano ngx-monaco-editor uuid
yarn add --dev @angular/cli @angular/pwa @commitlint/cli @commitlint/config-conventional @compodoc/compodoc @gitbeaker/cli @nestjs/schematics @nestjs/testing @ngrx/store-devtools @ngx-formly/schematics @nrwl/angular @nrwl/cli @nrwl/cypress @nrwl/devkit @nrwl/jest @nrwl/nest @nrwl/node @nrwl/storybook @nrwl/tao @nrwl/workspace @rx-angular/import-graph-visualizer @schematics/angular @types/faker @types/lodash.random @types/mustache camel-case constant-case copyfiles cucumber-html-reporter cypress-cucumber-preprocessor directory-tree faker fkill-cli husky@4 js-yaml json param-case pascal-case rimraf sort-keys tree-cli webpack-bundle-analyzer

yarn run nx generate @nrwl/angular:application --name=my-app --style=scss --routing=true

yarn run nx generate @nrwl/angular:storybook-configuration --name=my-app --configureCypress=true --generateCypressSpecs=false --generateStories=false

yarn run nx report

Failure Logs

npx: installed 48 in 8.607s

>  NX  Nx is creating your v13.3.12 workspace.

  To make sure the command works reliably in all environments, and that the preset is applied correctly,
  Nx will run "yarn install" several times. Please wait.

✔ Installing dependencies with yarn
✔ Nx has successfully created the workspace.

———————————————————————————————————————————————

>  NX   NOTE  First time using Nx? Check out this interactive Nx tutorial.

  https://nx.dev/getting-started/nx-core

yarn add v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @ng-select/ng-option-highlight@0.0.7" has unmet peer dependency "@angular/common@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-option-highlight@0.0.7" has unmet peer dependency "@angular/core@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-select@8.1.1" has unmet peer dependency "@angular/common@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-select@8.1.1" has unmet peer dependency "@angular/core@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-select@8.1.1" has unmet peer dependency "@angular/forms@>=13.0.0 <14.0.0".
warning " > @ngrx/effects@13.0.2" has unmet peer dependency "@angular/core@^13.0.0".
warning " > @ngrx/effects@13.0.2" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "@angular/common@^13.0.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "@angular/core@^13.0.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "@angular/router@^13.0.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > @ngrx/store@13.0.2" has unmet peer dependency "@angular/core@^13.0.0".
warning " > @ngrx/store@13.0.2" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > @ngx-formly/core@5.10.27" has unmet peer dependency "@angular/forms@>=7.0.0".
warning " > @ngx-formly/core@5.10.27" has unmet peer dependency "rxjs@>=6.3.0".
warning " > @angular/service-worker@13.1.1" has unmet peer dependency "@angular/core@13.1.1".
warning " > @angular/service-worker@13.1.1" has unmet peer dependency "@angular/common@13.1.1".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "@angular/common@^11.0.0".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "@angular/compiler@^11.0.0".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "@angular/core@^11.0.0".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "rxjs@^6.5.3".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "@angular/core@^13.0.0".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "@angular/common@^13.0.0".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "@angular/router@^13.0.0".
warning " > ngx-monaco-editor@12.0.0" has unmet peer dependency "@angular/common@^12.0.0".
warning " > ngx-monaco-editor@12.0.0" has unmet peer dependency "@angular/core@^12.0.0".
warning " > ngx-monaco-editor@12.0.0" has incorrect peer dependency "monaco-editor@^0.24.0".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 31 new dependencies.
info Direct dependencies
├─ @angular/service-worker@13.1.1
├─ @ng-select/ng-option-highlight@0.0.7
├─ @ng-select/ng-select@8.1.1
├─ @ngrx/effects@13.0.2
├─ @ngrx/router-store@13.0.2
├─ @ngrx/store@13.0.2
├─ @ngx-formly/core@5.10.27
├─ ajv-formats@2.1.1
├─ ajv@8.8.2
├─ angular-auth-oidc-client@13.1.0
├─ angular2-toaster@11.0.1
├─ class-transformer@0.5.1
├─ class-validator@0.13.2
├─ date-fns@2.27.0
├─ immer@9.0.7
├─ libphonenumber-js@1.9.44
├─ lodash.random@3.2.0
├─ monaco-editor@0.31.1
├─ mustache@4.2.0
├─ nano@9.0.5
├─ ngx-monaco-editor@12.0.0
└─ uuid@8.3.2
info All dependencies
├─ @angular/service-worker@13.1.1
├─ @ng-select/ng-option-highlight@0.0.7
├─ @ng-select/ng-select@8.1.1
├─ @ngrx/effects@13.0.2
├─ @ngrx/router-store@13.0.2
├─ @ngrx/store@13.0.2
├─ @ngx-formly/core@5.10.27
├─ @types/tough-cookie@4.0.1
├─ ajv-formats@2.1.1
├─ ajv@8.8.2
├─ angular-auth-oidc-client@13.1.0
├─ angular2-toaster@11.0.1
├─ axios-cookiejar-support@1.0.1
├─ axios@0.21.4
├─ class-transformer@0.5.1
├─ class-validator@0.13.2
├─ date-fns@2.27.0
├─ follow-redirects@1.14.6
├─ immer@9.0.7
├─ is-redirect@1.0.0
├─ json-schema-traverse@1.0.0
├─ libphonenumber-js@1.9.44
├─ lodash.random@3.2.0
├─ monaco-editor@0.31.1
├─ mustache@4.2.0
├─ nano@9.0.5
├─ ngx-monaco-editor@12.0.0
├─ qs@6.10.2
├─ rfc4648@1.5.0
├─ uuid@8.3.2
└─ validator@13.7.0
Done in 32.30s.
yarn add v1.22.17
[1/4] Resolving packages...
warning @compodoc/compodoc > @compodoc/live-server > http-auth > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning cucumber-html-reporter > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning cypress-cucumber-preprocessor > cucumber@4.2.1: The npm package has moved to @cucumber/cucumber
warning cypress-cucumber-preprocessor > cucumber > babel-runtime > core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
warning cypress-cucumber-preprocessor > @cypress/browserify-preprocessor > browserify > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
[2/4] Fetching packages...
warning Pattern ["rimraf@^3.0.2","rimraf@^3.0.2","rimraf@^3.0.2","rimraf@^3.0.2","rimraf@^3.0.0","rimraf@^3.0.2"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-rimraf-3.0.2-f1a5402ba6220ad52cc1282bac1ae3aa49fd061a-integrity/node_modules/rimraf" as pattern ["rimraf@^3.0.2"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@nrwl/cli@^13.3.12"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-@nrwl-cli-13.3.12-bc88e961d09feece029096f6ddf53c8501cfd730-integrity/node_modules/@nrwl/cli" as pattern ["@nrwl/cli@13.3.12","@nrwl/cli@13.3.12","@nrwl/cli@13.3.12"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@nrwl/devkit@^13.3.12"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-@nrwl-devkit-13.3.12-66f2f4f65377396e1e9d9dfa61451c665fc495c2-integrity/node_modules/@nrwl/devkit" as pattern ["@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12","@nrwl/devkit@13.3.12"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@nrwl/jest@^13.3.12"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-@nrwl-jest-13.3.12-e5a82d1852a979853450ff8113f648d06f7db6be-integrity/node_modules/@nrwl/jest" as pattern ["@nrwl/jest@13.3.12","@nrwl/jest@13.3.12","@nrwl/jest@13.3.12","@nrwl/jest@13.3.12","@nrwl/jest@13.3.12","@nrwl/jest@13.3.12","@nrwl/jest@13.3.12"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@nrwl/tao@^13.3.12"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-@nrwl-tao-13.3.12-d586c4d65b19925225a9dcc81161cdebc1dae0be-integrity/node_modules/@nrwl/tao" as pattern ["@nrwl/tao@13.3.12","@nrwl/tao@13.3.12","@nrwl/tao@13.3.12","@nrwl/tao@13.3.12"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@nrwl/workspace@^13.3.12"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-@nrwl-workspace-13.3.12-a2559a01927782d2cbcf01edcfb8308a56e2004e-integrity/node_modules/@nrwl/workspace" as pattern ["@nrwl/workspace@13.3.12","@nrwl/workspace@13.3.12","@nrwl/workspace@13.3.12","@nrwl/workspace@13.3.12","@nrwl/workspace@13.3.12","@nrwl/workspace@13.3.12"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning " > @angular/service-worker@13.1.1" has unmet peer dependency "@angular/core@13.1.1".
warning " > @angular/service-worker@13.1.1" has unmet peer dependency "@angular/common@13.1.1".
warning " > @ng-select/ng-option-highlight@0.0.7" has unmet peer dependency "@angular/common@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-option-highlight@0.0.7" has unmet peer dependency "@angular/core@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-select@8.1.1" has unmet peer dependency "@angular/common@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-select@8.1.1" has unmet peer dependency "@angular/core@>=13.0.0 <14.0.0".
warning " > @ng-select/ng-select@8.1.1" has unmet peer dependency "@angular/forms@>=13.0.0 <14.0.0".
warning " > @ngrx/effects@13.0.2" has unmet peer dependency "@angular/core@^13.0.0".
warning " > @ngrx/effects@13.0.2" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "@angular/common@^13.0.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "@angular/core@^13.0.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "@angular/router@^13.0.0".
warning " > @ngrx/router-store@13.0.2" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > @ngrx/store@13.0.2" has unmet peer dependency "@angular/core@^13.0.0".
warning " > @ngrx/store@13.0.2" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > @ngx-formly/core@5.10.27" has unmet peer dependency "@angular/forms@>=7.0.0".
warning " > @ngx-formly/core@5.10.27" has unmet peer dependency "rxjs@>=6.3.0".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "@angular/core@^13.0.0".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "@angular/common@^13.0.0".
warning " > angular-auth-oidc-client@13.1.0" has unmet peer dependency "@angular/router@^13.0.0".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "@angular/common@^11.0.0".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "@angular/compiler@^11.0.0".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "@angular/core@^11.0.0".
warning " > angular2-toaster@11.0.1" has unmet peer dependency "rxjs@^6.5.3".
warning " > ngx-monaco-editor@12.0.0" has unmet peer dependency "@angular/common@^12.0.0".
warning " > ngx-monaco-editor@12.0.0" has unmet peer dependency "@angular/core@^12.0.0".
warning " > ngx-monaco-editor@12.0.0" has incorrect peer dependency "monaco-editor@^0.24.0".
warning "@nrwl/angular > rxjs-for-await@0.0.2" has unmet peer dependency "rxjs@^6.0.0".
warning "@nrwl/angular > jasmine-marbles@0.8.4" has unmet peer dependency "rxjs@^6.5.3".
warning "@nrwl/cypress > ts-loader@9.2.6" has unmet peer dependency "webpack@^5.0.0".
warning "@nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "@babel/core@^7.0.1".
warning "@nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "@babel/preset-env@^7.0.0".
warning "@nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "babel-loader@^8.0.2".
warning "@nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "webpack@^4 || ^5".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "@egjs/hammerjs@^2.0.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "component-emitter@^1.3.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "keycharm@^0.2.0 || ^0.3.0 || ^0.4.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "timsort@^0.3.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "vis-data@^7.0.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "vis-util@^5.0.1".
warning " > @nestjs/testing@8.2.4" has unmet peer dependency "@nestjs/common@^8.0.0".
warning " > @nestjs/testing@8.2.4" has unmet peer dependency "@nestjs/core@^8.0.0".
warning " > @ngrx/store-devtools@13.0.2" has unmet peer dependency "rxjs@^6.5.3 || ^7.4.0".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 619 new dependencies.
info Direct dependencies
├─ @angular/cli@13.1.2
...
└─ yocto-queue@0.1.0
Done in 160.70s.
yarn run v1.22.17
$ /home/hadrien_toma/gitlab.com/bashroom-devs/workspace-reference/tmp/0-recreate/main/workspace/node_modules/.bin/nx generate @nrwl/angular:application --name=my-app --style=scss --routing=true
UPDATE nx.json
UPDATE package.json
CREATE jest.config.js
CREATE jest.preset.js
UPDATE .vscode/extensions.json
UPDATE .gitignore
UPDATE workspace.json
CREATE apps/my-app/src/favicon.ico
CREATE apps/my-app/tsconfig.editor.json
CREATE apps/my-app/tsconfig.json
CREATE apps/my-app/.browserslistrc
CREATE apps/my-app/tsconfig.app.json
CREATE apps/my-app/tsconfig.spec.json
CREATE apps/my-app/src/index.html
CREATE apps/my-app/src/main.ts
CREATE apps/my-app/src/polyfills.ts
CREATE apps/my-app/src/styles.scss
CREATE apps/my-app/src/assets/.gitkeep
CREATE apps/my-app/src/environments/environment.prod.ts
CREATE apps/my-app/src/environments/environment.ts
CREATE apps/my-app/src/app/app.module.ts
CREATE apps/my-app/src/app/app.component.scss
CREATE apps/my-app/src/app/app.component.html
CREATE apps/my-app/src/app/app.component.spec.ts
CREATE apps/my-app/src/app/app.component.ts
CREATE apps/my-app/src/app/nx-welcome.component.ts
CREATE .eslintrc.json
CREATE apps/my-app/.eslintrc.json
CREATE apps/my-app/jest.config.js
CREATE apps/my-app/src/test-setup.ts
CREATE apps/my-app-e2e/cypress.json
CREATE apps/my-app-e2e/src/fixtures/example.json
CREATE apps/my-app-e2e/src/integration/app.spec.ts
CREATE apps/my-app-e2e/src/support/app.po.ts
CREATE apps/my-app-e2e/src/support/commands.ts
CREATE apps/my-app-e2e/src/support/index.ts
CREATE apps/my-app-e2e/tsconfig.json
CREATE apps/my-app-e2e/project.json
CREATE apps/my-app-e2e/.eslintrc.json
CREATE apps/my-app/project.json
[1/4] Resolving packages...
warning @angular-devkit/build-angular > postcss-preset-env > postcss-color-gray > postcss-values-parser > flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
[2/4] Fetching packages...
warning Pattern ["colors@latest"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-colors-1.4.0-c50491479d4c1bdaed2c9ced32cf7c7dc2360f78-integrity/node_modules/colors" as pattern ["colors@^1.4.0","colors@^1.1.2","colors@^1.1.2"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["object-assign@latest"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863-integrity/node_modules/object-assign" as pattern ["object-assign@^4","object-assign@^4.1.1","object-assign@^4.1.1","object-assign@^4.1.1","object-assign@^4.1.1","object-assign@^4.1.0","object-assign@^4.0.1","object-assign@^4.1.1","object-assign@^4.1.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["send@latest"] is trying to unpack in the same destination "/home/hadrien_toma/.cache/yarn/v6/npm-send-0.17.2-926622f76601c41808012c8bf1688fe3906f7820-integrity/node_modules/send" as pattern ["send@0.17.2","send@0.17.2"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning " > angular2-toaster@11.0.1" has incorrect peer dependency "@angular/common@^11.0.0".
warning " > angular2-toaster@11.0.1" has incorrect peer dependency "@angular/compiler@^11.0.0".
warning " > angular2-toaster@11.0.1" has incorrect peer dependency "@angular/core@^11.0.0".
warning " > angular2-toaster@11.0.1" has incorrect peer dependency "rxjs@^6.5.3".
warning " > ngx-monaco-editor@12.0.0" has incorrect peer dependency "@angular/common@^12.0.0".
warning " > ngx-monaco-editor@12.0.0" has incorrect peer dependency "@angular/core@^12.0.0".
warning " > ngx-monaco-editor@12.0.0" has incorrect peer dependency "monaco-editor@^0.24.0".
warning " > @nestjs/testing@8.2.4" has unmet peer dependency "@nestjs/common@^8.0.0".
warning " > @nestjs/testing@8.2.4" has unmet peer dependency "@nestjs/core@^8.0.0".
warning "@nrwl/angular > jasmine-marbles@0.8.4" has incorrect peer dependency "rxjs@^6.5.3".
warning "@nrwl/angular > rxjs-for-await@0.0.2" has incorrect peer dependency "rxjs@^6.0.0".
warning "@nrwl/angular > @nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "@babel/core@^7.0.1".
warning "@nrwl/angular > @nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "@babel/preset-env@^7.0.0".
warning "@nrwl/angular > @nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "babel-loader@^8.0.2".
warning "@nrwl/angular > @nrwl/cypress > @cypress/webpack-preprocessor@5.11.0" has unmet peer dependency "webpack@^4 || ^5".
warning "@nrwl/angular > @nrwl/cypress > ts-loader@9.2.6" has unmet peer dependency "webpack@^5.0.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "@egjs/hammerjs@^2.0.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "component-emitter@^1.3.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "keycharm@^0.2.0 || ^0.3.0 || ^0.4.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "timsort@^0.3.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "vis-data@^7.0.0".
warning "@rx-angular/import-graph-visualizer > vis-network@9.1.0" has unmet peer dependency "vis-util@^5.0.1".
[4/4] Building fresh packages...
success Saved lockfile.
$ ngcc --properties es2015 browser module main
Processing legacy "View Engine" libraries:
- @ngx-formly/core [es2015/esm2015] (git+https://github.com/ngx-formly/ngx-formly.git)
- angular2-toaster [es2015/esm2015] (https://github.com/stabzs/Angular2-Toaster.git)
- @ngx-formly/core/json-schema [es2015/esm2015] (git+https://github.com/ngx-formly/ngx-formly.git)
- @ngx-formly/core/select [es2015/esm2015] (git+https://github.com/ngx-formly/ngx-formly.git)
- @ngx-formly/core [module/esm5] (git+https://github.com/ngx-formly/ngx-formly.git)
- @ngx-formly/core [main/umd] (git+https://github.com/ngx-formly/ngx-formly.git)
- @ngx-formly/core/json-schema [module/esm5] (git+https://github.com/ngx-formly/ngx-formly.git)
- @ngx-formly/core/json-schema [main/umd] (git+https://github.com/ngx-formly/ngx-formly.git)
- angular2-toaster [main/umd] (https://github.com/stabzs/Angular2-Toaster.git)
- @ngx-formly/core/select [module/esm5] (git+https://github.com/ngx-formly/ngx-formly.git)
- @ngx-formly/core/select [main/umd] (git+https://github.com/ngx-formly/ngx-formly.git)
Encourage the library authors to publish an Ivy distribution.
Done in 187.46s.
yarn run v1.22.17
$ /home/hadrien_toma/gitlab.com/bashroom-devs/workspace-reference/tmp/0-recreate/main/workspace/node_modules/.bin/nx generate @nrwl/angular:storybook-configuration --name=my-app --configureCypress=true --generateCypressSpecs=false --generateStories=false
Incompatible Storybook Version: Please use a version of @storybook/angular higher than 6.4.0-rc.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Environment


>  NX  Report complete - copy this into the issue template

  Node : 14.18.2
  OS   : linux x64
  yarn : 1.22.17

  nx : 13.3.12
  @nrwl/angular : 13.3.12
  @nrwl/cli : 13.3.12
  @nrwl/cypress : 13.3.12
  @nrwl/devkit : 13.3.12
  @nrwl/eslint-plugin-nx : 13.3.12
  @nrwl/express : undefined
  @nrwl/jest : 13.3.12
  @nrwl/linter : 13.3.12
  @nrwl/nest : 13.3.12
  @nrwl/next : undefined
  @nrwl/node : 13.3.12
  @nrwl/nx-cloud : undefined
  @nrwl/react : undefined
  @nrwl/react-native : undefined
  @nrwl/schematics : undefined
  @nrwl/tao : 13.3.12
  @nrwl/web : undefined
  @nrwl/workspace : 13.3.12
  @nrwl/storybook : 13.3.12
  @nrwl/gatsby : undefined
  typescript : 4.4.4
  rxjs : 7.4.0
  ---------------------------------------
  Community plugins:
         @angular/animations: 13.1.1
         @angular/common: 13.1.1
         @angular/compiler: 13.1.1
         @angular/core: 13.1.1
         @angular/forms: 13.1.1
         @angular/platform-browser: 13.1.1
         @angular/platform-browser-dynamic: 13.1.1
         @angular/router: 13.1.1
         @angular/service-worker: 13.1.1
         @ngrx/effects: 13.0.2
         @ngrx/router-store: 13.0.2
         @ngrx/store: 13.0.2
         angular-auth-oidc-client: 13.1.0
         @angular-devkit/build-angular: 13.1.2
         @angular/cli: 13.1.2
         @angular/compiler-cli: 13.1.1
         @angular/language-service: 13.1.1
         @angular/pwa: 13.1.2
         @ngrx/store-devtools: 13.0.2
         @ngx-formly/schematics: 5.10.27

Done in 1.87s.
mandarini commented 2 years ago

Hi there @hadrien-toma ! Thanks for filing an issue! There's already a commit that did that, and it should be out in our latest version of Nx! :)

Can you try it out and let me know if it works for you now?

hadrien-toma commented 2 years ago

Hi @mandarini, thanks for your answer!

I still have the issue with the following nx report output:

$ nx report

>  NX  Report complete - copy this into the issue template

  Node : 14.18.2
  OS   : linux x64
  yarn : 1.22.17

  nx : 13.4.1
  @nrwl/angular : 13.4.1
  @nrwl/cli : 13.4.1
  @nrwl/cypress : 13.4.1
  @nrwl/devkit : 13.4.1
  @nrwl/eslint-plugin-nx : 12.9.0
  @nrwl/express : undefined
  @nrwl/jest : 13.4.1
  @nrwl/linter : 12.9.0
  @nrwl/nest : 13.4.1
  @nrwl/next : undefined
  @nrwl/node : 13.4.1
  @nrwl/nx-cloud : undefined
  @nrwl/react : undefined
  @nrwl/react-native : undefined
  @nrwl/schematics : undefined
  @nrwl/tao : 13.4.1
  @nrwl/web : undefined
  @nrwl/workspace : 13.4.1
  @nrwl/storybook : 13.4.1
  @nrwl/gatsby : undefined
  typescript : 4.4.4
  rxjs : 6.6.7
  ---------------------------------------
  Community plugins:
         @angular/animations: 12.2.6
         @angular/cdk: 12.2.13
         @angular/common: 12.2.6
         @angular/compiler: 12.2.6
         @angular/core: 12.2.6
         @angular/forms: 12.2.6
         @angular/material: 12.2.13
         @angular/platform-browser: 12.2.6
         @angular/platform-browser-dynamic: 12.2.6
         @angular/platform-server: 12.2.6
         @angular/router: 12.2.6
         @angular/service-worker: 13.1.1
         @ngrx/effects: 13.0.2
         @ngrx/router-store: 13.0.2
         @ngrx/store: 13.0.2
         angular-auth-oidc-client: 13.1.0
         @angular-devkit/build-angular: 12.2.6
         @angular/cli: 13.1.2
         @angular/compiler-cli: 12.2.6
         @angular/language-service: 12.2.6
         @angular/pwa: 13.1.2
         @ngrx/store-devtools: 13.0.2
         @ngx-formly/schematics: 5.10.27

Done in 2.20s.
hadrien-toma commented 2 years ago

I still have the issue with the following nx report output:

yarn run v1.22.17
warning package.json: "dependencies" has dependency "@nestjs/schematics" with range "^8.0.5" that collides with a dependency in "devDependencies" of the same name with version "^8.0.0"
warning package.json: "dependencies" has dependency "@nestjs/testing" with range "^8.2.4" that collides with a dependency in "devDependencies" of the same name with version "^8.0.0"
$ nx report

>  NX  Report complete - copy this into the issue template

  Node : 14.18.2
  OS   : linux x64
  yarn : 1.22.17

  nx : 13.4.2
  @nrwl/angular : 13.4.2
  @nrwl/cli : 13.4.2
  @nrwl/cypress : 13.4.2
  @nrwl/devkit : 13.4.2
  @nrwl/eslint-plugin-nx : 12.9.0
  @nrwl/express : undefined
  @nrwl/jest : 13.4.2
  @nrwl/linter : 12.9.0
  @nrwl/nest : 13.4.2
  @nrwl/next : undefined
  @nrwl/node : 13.4.2
  @nrwl/nx-cloud : undefined
  @nrwl/react : undefined
  @nrwl/react-native : undefined
  @nrwl/schematics : undefined
  @nrwl/tao : 13.4.2
  @nrwl/web : undefined
  @nrwl/workspace : 13.4.2
  @nrwl/storybook : 13.4.2
  @nrwl/gatsby : undefined
  typescript : 4.4.4
  rxjs : 7.4.0
  ---------------------------------------
  Community plugins:
         @angular/animations: 13.1.1
         @angular/cdk: 12.2.13
         @angular/common: 13.1.1
         @angular/compiler: 13.1.1
         @angular/core: 13.1.1
         @angular/forms: 13.1.1
         @angular/material: 12.2.13
         @angular/platform-browser: 13.1.1
         @angular/platform-browser-dynamic: 13.1.1
         @angular/platform-server: 13.1.1
         @angular/router: 13.1.1
         @angular/service-worker: 13.1.1
         @ngrx/effects: 13.0.2
         @ngrx/router-store: 13.0.2
         @ngrx/store: 13.0.2
         angular-auth-oidc-client: 13.1.0
         @angular-devkit/build-angular: 13.1.2
         @angular/cli: 13.1.2
         @angular/compiler-cli: 13.1.1
         @angular/language-service: 13.1.1
         @angular/pwa: 13.1.2
         @ngrx/store-devtools: 13.0.2
         @ngx-formly/schematics: 5.10.27
         @nrwl/js: 13.4.2

Done in 2.52s.
hadrien-toma commented 2 years ago

The issue is fixed with the following Nx report:

yarn run nx report
yarn run v1.22.17
$ /home/hadrien_toma/tmp/tata/tmp-workspace-wrapper/workspace/node_modules/.bin/nx report

>  NX  Report complete - copy this into the issue template

  Node : 14.18.2
  OS   : linux x64
  yarn : 1.22.17

  nx : 13.4.5
  @nrwl/angular : 13.4.5
  @nrwl/cli : 13.4.5
  @nrwl/cypress : 13.4.5
  @nrwl/devkit : 13.4.5
  @nrwl/eslint-plugin-nx : 13.4.5
  @nrwl/express : undefined
  @nrwl/jest : 13.4.5
  @nrwl/linter : 13.4.5
  @nrwl/nest : 13.4.5
  @nrwl/next : undefined
  @nrwl/node : 13.4.5
  @nrwl/nx-cloud : undefined
  @nrwl/react : undefined
  @nrwl/react-native : undefined
  @nrwl/schematics : undefined
  @nrwl/tao : 13.4.5
  @nrwl/web : undefined
  @nrwl/workspace : 13.4.5
  @nrwl/storybook : 13.4.5
  @nrwl/gatsby : undefined
  typescript : 4.4.4
  rxjs : 7.4.0
  ---------------------------------------
  Community plugins:
     @angular/animations: 13.1.2
     @angular/common: 13.1.2
     @angular/compiler: 13.1.2
     @angular/core: 13.1.2
     @angular/forms: 13.1.2
     @angular/platform-browser: 13.1.2
     @angular/platform-browser-dynamic: 13.1.2
     @angular/router: 13.1.2
     @angular/service-worker: 13.1.2
     @ngrx/effects: 13.0.2
     @ngrx/router-store: 13.0.2
     @ngrx/store: 13.0.2
     angular-auth-oidc-client: 13.1.0
     @angular-devkit/build-angular: 13.1.3
     @angular/cli: 13.1.3
     @angular/compiler-cli: 13.1.2
     @angular/language-service: 13.1.2
     @angular/pwa: 13.1.3
     @compodoc/compodoc: 1.1.18
     @ngrx/store-devtools: 13.0.2
     @ngx-formly/schematics: 5.10.29
     @storybook/angular: 6.4.13

Done in 1.15s.
github-actions[bot] commented 1 year ago

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.