question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Property 'stylePreprocessorOptions' does not match the schema. '[object' should be a 'object'.

See original GitHub issue

Current 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: Screenshot 2022-05-16 at 11 16 32 Screenshot 2022-05-16 at 11 16 45 Screenshot 2022-05-16 at 11 16 50

Expected Behavior

Build should be successful.

Steps to Reproduce

Failure Logs

Screenshot 2022-05-16 at 11 18 58

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:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mattgekcommented, May 24, 2022

Hi I’ll try to create a stackblitz repo in the comming days. Kind of busy at the office atm. Sorry for the delay 🙂

0reactions
mandarinicommented, Jun 14, 2022

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! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

stylePreprocessorOptions not working in Angular 8
I have tried everything I can, from moving the "stylePreprocessorOptions" in and out of other objects to removing the src in the path....
Read more >
angular/angular-cli - Gitter
Sass Loader has been initialized using an options object that does not match the API schema. options has an unknown property 'includePaths'.".
Read more >
JSON Schema Property 'stylePreprocessorOptions'
JSON Schema Property 'stylePreprocessorOptions' · Description · Diagram · Value · Source · References.
Read more >
@nrwl/angular:webpack-browser | Nx
Promise<object|Function>. The executor will merge the provided configuration with the webpack configuration that Angular Devkit uses. The merge order is:.
Read more >
Generating an app with Angular CLI and preparing i...
It is not possible to create a username such as admin in APS. ... The file includes an empty Routes object that you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found