Everything runs on Mac, not on Windows PC #4272
Replies: 1 comment 5 replies
-
Additional information: I just installed a fresh vscode on a different Windows 11 machine. Same errors. Added yarn errors for context. ` ❌ [test:create] exited with exit code 1. SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: @web\storybook-framework-web-components\preset. Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes. If you believe this is a bug, please open an issue on Github. .\node_modules@web\storybook-framework-web-components\preset.mjs:2 SyntaxError: Cannot use import statement outside a module ✅ Ran 3 scripts and skipped 1 in 16s. mponents> ⠹ash reports? » (Y/n)⠇ |
Beta Was this translation helpful? Give feedback.
-
We've been stuck on this bug for a few weeks. We haven't changed anything, just running yarn and yarn storybook.
Is there an obvious solution we're overlooking? Everything works on our Macs and fires storybook right up. But Windows 10 Enterprise is stopped with the error below every time.
Edition Windows 10 Enterprise
Version 21H2
Installed on 4/27/2023
OS build 19044.3086
Experience Windows Feature Experience Pack 1000.19041.1000.0
We've had minor success with getting it to at least load the component list by changing main.js to point to stories.ts instead of stories js. and added path = require('path') to get us a bit farther past this bug.
Beta Was this translation helpful? Give feedback.
All reactions