Skip to main content
Latest news: [[ newestAnnouncement.title ]] Learn more
InVision Support Home Page
Sign in
InVision ambassador ambassador
Volha Kunskaya
Volha Kunskaya Updated

DSM Assets path issue

Hi!
I'm using Invision DSM to visualize my React components. I'm using custom fonts and images there and I need these assets to be accessible within DSM. But unfortunately they don't appear in my React tab presenting components. Yes, we've uploaded custom fonts into DSM font fallbacks but this didn't solve the issue.

In Network tab I see that there is a duplication of path to the asset.
It looks like this:

https://dsmHost/dsm-api/storybook/organization/a24NQvJs9/asset-proxy?assetName=https://dsmHost/dsm-api/storybook/organization/a24NQvJs9/asset-proxy?assetName=static/media/Roboto-Bold.18034c13.woff2

As you can see part "https://dsmHost/dsm-api/storybook/organization/a24NQvJs9/asset-proxy?assetName=" repeats twice.

What we've found is that this duplication has appeared right after package "@invisionapp/dsm-storybook" update from version 0.0.145 to version 0.0.147. Thus, seems like it is defect of this updated library version.

Can you please assist with this issue?

 

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.

0

comments

Sort by

Raynor B
InVision ambassador Raynor B , ambassador

Hi Volha,

We're sorry to hear that you're having some trouble with your Live Components, but thanks for reaching out to our Community and providing these details for our team to use for further troubleshooting.

I’ll be opening a ticket on your behalf with our Support team so they can dig into this further with you internally. Please keep an eye out for an email from one of our Support agents soon.

Thanks!
Raynor

0
Maria Giovanna Chinellato
InVision ambassador Maria Giovanna Chinellato , ambassador Edited

Hi,

I've the same issue. Could you give me support in solving the problem, please?

 

Thank you in advance!

Maria Giovanna Chinellato

0
Raynor B
InVision ambassador Raynor B , ambassador

Hi Maria,

Thanks for reaching out via our Community! I'm sorry to hear that you're encountering a similar issue. 

I’ll be opening a ticket on your behalf so they can dig into this further with you internally. Please keep an eye out for an email from me regarding this. 

We'll look forward to assisting you via the ticket. 

Best,
Raynor

0
Alex
InVision ambassador Alex , ambassador Edited

Hello,

We have the same issue. dsm-storybook version is 0.0.149. Should we downgrade?

Thanks,

Alex

 

Edit: finally I fixed the issue. For everyone interested how, I followed this guide as close as possible (even using storybook cli to specify the path is deprecated): 

https://support.invisionapp.com/hc/en-us/articles/360044117952?input_string=incorrect%20dsm%20path%20to%20assets

0

join the conversation

To comment, sign up or sign in.