Property 'stylePreprocessorOptions' does not match the schema. '[object' should be a 'object'.
See original GitHub issueCurrent Behavior
I’ve upgraded to Nrwl Nx 14. Everything went well except for Storybook. When I’m trying to build storybook app for production I get the following error:
Property 'stylePreprocessorOptions' does not match the schema. '[object' should be a 'object'.
I run the following command: nx run storybook:build:production
CONFIG:
Expected Behavior
Build should be successful.
Steps to Reproduce
Failure Logs
Environment
NX Report complete - copy this into the issue template
Node : 16.15.0 OS : darwin x64 npm : 8.5.5
nx : 14.1.5 @nrwl/angular : 14.1.5 @nrwl/cypress : 14.1.5 @nrwl/detox : Not Found @nrwl/devkit : 14.1.5 @nrwl/eslint-plugin-nx : 14.1.5 @nrwl/express : Not Found @nrwl/jest : 14.1.5 @nrwl/js : 14.1.5 @nrwl/linter : 14.1.5 @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 : 14.1.5 @nrwl/web : 14.1.5 @nrwl/workspace : 14.1.5 typescript : 4.6.4 rxjs : 6.6.7
Community plugins: @datorama/akita: 6.2.4 @fortawesome/angular-fontawesome: 0.10.2 @ng-bootstrap/ng-bootstrap: 11.0.0 ngx-bootstrap: 8.0.0 @compodoc/compodoc: 1.1.19 @ngneat/spectator: 10.0.1 @storybook/angular: 6.4.21 ng-mocks: 13.3.0
(node:7868) [DEP0148] DeprecationWarning: Use of deprecated folder mapping “./” in the “exports” field module resolution of the package at /Users/matthiag/Documents/moaprfrontend/moapr/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like “./*”.
(Use node --trace-deprecation ...
to show where the warning was created)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Hi I’ll try to create a stackblitz repo in the comming days. Kind of busy at the office atm. Sorry for the delay 🙂
Hi there @mattgek ! I will go ahead and close this, because I cannot reproduce in any way. If you manage to create a reproduction, with the latest version of Nx, please feel free to reopen this! 😃