Open theonelucas opened 3 years ago
@theonelucas That version of the beta isn't supported yet. Work is in progress in https://github.com/eirslett/storybook-builder-vite/pull/144
@theonelucas I see you've made updates to the vite config to support the newer versions of storybook, but I think that you don't want to spread the existing server.hmr
config in this case, because there are some properties there which cause trouble. So, try removing the line ...config.server.hmr,
, and maybe that will help.
@theonelucas That version of the beta isn't supported yet. Work is in progress in #144
I downgrade it to 6.4.0-beta.19
but it still didn't work. I created a reproduction repository if you wish to inspect, thanks.
@theonelucas I see you've made updates to the vite config to support the newer versions of storybook, but I think that you don't want to spread the existing
server.hmr
config in this case, because there are some properties there which cause trouble. So, try removing the line...config.server.hmr,
, and maybe that will help.
I tried removing the entire config.server
block and running it locally but got the same error. I created a reproduction repository, if you wish to inspect, thanks.
@theonelucas The reproduction needs a little tweaking with the import statement in inputdate.ts
. But I think this issue is the same as: https://github.com/storybookjs/storybook/issues/14052
Hi, I can run storybook with
yarn storybook
:But when I try to load a story named
inputdate.js
:The server breaks with:
And the browser request:
This is my
main.js
storybook config:If I do change the path in
alias.resolve
to anything else it breaks, which means the file is being read initially. I ran out of ideas of what might be causing this, if somebody has any please let me know, thanks!