Sorry, the InVision Help Center does not support Internet Explorer. Please download Microsoft Edge or another modern browser.


InVision ambassador ambassador
Daniel Clowes

Upload failed: sb_dll/storybook_ui_dll.js

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

This post is associated with a known feature request: [[problemTicketSubject]]. Let our Product team know that you’re interested in this feature.

Sign in to add your vote

Thanks for taking the time to share your feedback about making our product better. We’ve let our Product team know that you’re interested in this feature so they can factor that into their product strategy.

comments

sort by


Shaina Torgerson
InVision ambassador Shaina Torgerson , ambassador
Comment actions Permalink

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:

  1. A screencast of the steps you take when this issue occurs.
  2. If you switch to an incognito/private window does the issue continue?
  3. If you shut down your browser and reopen does the issue continue?

Once we have those details, I’ll be in a better position to troubleshoot this for you.

Cheers,

Shaina

0

join the conversation

to comment, sign up or sign in.