Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Not able to run storybook in an aspnet zero with angular #10826


User avatar
0
klir created

We are trying to run the storybook in aspnet zero, the installation goes well but when we run the storybook we get an invalid string length error when it starts generating the documentation.

I was wondering if anyone had a good solution to this issue. Our aspnet zero version is 8.1, with angular 9.1.

We have tried running it on a fresh new application with same framework versions and the error persists, but if we run it on a standard angular (without aspnet zero) applicaiton it goes well.

Here is a screenshot of the error


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @klir

    Could you write the steps you have followed ? We can reproduce it by following same steps and try to offer you a solution.

    Thanks,

  • User Avatar
    0
    klir created

    Hi @ismcagdas .

    Yes, in root project folder we run: npx sb init After installation finishes try to run it trought the command npm run storybook

  • User Avatar
    0
    musa.demir created

    Hi @klir

    We are invetigating the problem. We created an issue about it https://github.com/storybookjs/storybook/issues/17349. We will inform you when the problem is solved

  • User Avatar
    0
    klir created

    Great news @musa.demir We're looking forward to have this running, thanks

  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi,

    We also tried increasing the memory limit for the related command as suggested for similar node errors but it didn't help either. So, let's see what storybook team suggests.