Skip to content

Cannot read properties of undefined (reading 'cdnURL') #753

@AlexanderBredun

Description

@AlexanderBredun

I used this Nuxt Storybook starter, but when I try to add any image from the public directory, I get the following error:
image
When I checked the console, it pointed me to this part of the code and showed that there is a problem with useRuntimeConfig:
image

Node 18.18.2, npm 9.8.1, windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions