Hi,
As the title suggests, I'm having difficulty publishing storybook components to DSM. Preview works correctly, as does vanilla Storybook.
Here is an example of the story:
import { storiesOf } from '@storybook/html'
storiesOf('Button', module)
.add('Button', () => `
<div class="container">
<button class='btn btn-primary'>Text</button>
</div>
`, {
'in-dsm': {
id: '<id>',
containerClass: 'container',
docFilePath: './components/dsm/button.docs.json'
}
})
Here are the last few lines from the build log, it always fails on the sb dlls:
info => Output directory: /home/project/.dsm/storybook
DSM => ✔ Upload complete: favicon.ico
DSM => ✔ Upload complete: iframe.html
DSM => ✔ Upload complete: index.html
DSM => ✔ Upload complete: main.1f6247c62b60e7e78401.bundle.js
DSM => ✔ Upload complete: main.b59128e94d19f9590346.bundle.js
DSM => ✔ Upload complete: runtime~main.1f6247c62b60e7e78401.bundle.js
DSM => ✔ Upload complete: runtime~main.286b69a873d49f2f199c.bundle.js
DSM => ✖ Upload failed: sb_dll/storybook_ui_dll.js
DSM => ✖ Error: socket hang up
at connResetException (internal/errors.js:609:14)
at TLSSocket.socketOnEnd (_http_client.js:453:23)
at TLSSocket.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
I'm on Node v12.18.1, Storybook HTML v5.3.19, DSM Storybook v0.0.129.
Thanks
comments
Sort by
Hi Daniel,
I am sorry to hear that you are running into this issue with Storybook. Can I have you send over a couple of items so we can further investigate this issue:
Once we have those details, I’ll be in a better position to troubleshoot this for you.
Cheers,
Shaina