Closed jerkovicl closed 1 year ago
Hi there @jerkovicl ! Can you please do me a favour and create a reproduction repository, and post it here, so that I can debug this more easily? It would be super helpful!
Thank you so much in advance!
@mandarini its a private repo with private npm registry but yeah I will try to do it. Got email where I can send the details if needed?
I see. Can you try recreating this bug in a new repo? You can set up a new repo with npx create-nx-workspace
and then generate an Angular app, add Storybook and try to mimic the setup of your private repo!
As an alternative, you can join our community slack, post your question in the support channel, and I'll take a look and ping you in a dm, if needed.
@mandarini ok i will try to recreate repo and send you details on slack
This was resolved in the community slack. The issue was that it needed some extra typescript settings, and also it was a very specific setup.
@mandarini thx alot for all the help, this is resolved.
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.
Current Behavior
Running build-storybook target for ui library with command
nx run ui:build-storybook
fails with weird error Storybook configuration freshly generated on existing libExpected Behavior
Storybook runs as normal, no errors.
Failure Logs
error about unresolved import is weird because if i go to the mentioned file i dont have that import written like that, its completely different
Environment
Node : 16.14.0 OS : win32 x64 npm : 8.19.2
nx : 15.1.1 @nrwl/angular : 15.1.1 @nrwl/cypress : 15.1.1 @nrwl/detox : Not Found @nrwl/devkit : 15.1.1 @nrwl/esbuild : Not Found @nrwl/eslint-plugin-nx : 15.1.1 @nrwl/expo : Not Found @nrwl/express : Not Found @nrwl/jest : 15.1.1 @nrwl/js : 15.1.1 @nrwl/linter : 15.1.1 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : Not Found @nrwl/nx-cloud : 15.0.2 @nrwl/nx-plugin : 15.1.1 @nrwl/react : Not Found @nrwl/react-native : Not Found @nrwl/rollup : Not Found @nrwl/schematics : Not Found @nrwl/storybook : 15.1.1 @nrwl/web : Not Found @nrwl/webpack : 15.1.1 @nrwl/workspace : 15.1.1 typescript : 4.8.4
Local workspace plugins: @fiyu/lib-toolkit
Community plugins: @compodoc/compodoc: 1.1.19 @storybook/angular: 6.5.13 lerna: 6.0.3