Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook starts with error: Failed to execute setItem on Storage #452

Closed
Donaldini opened this issue Sep 14, 2016 · 4 comments
Closed

Storybook starts with error: Failed to execute setItem on Storage #452

Donaldini opened this issue Sep 14, 2016 · 4 comments
Labels

Comments

@Donaldini
Copy link

Donaldini commented Sep 14, 2016

On starting storybook I get the following error

Failed to execute 'setItem' on 'Storage': Setting the value of 'cb0320b0-988a-47a9-8aa0-c7a963e524bb' exceeded the quota.

Already tried...

  • I updated to the latest version (@kadira/storybook@2.13.1) to see if the problem was resolved but alas.
  • Removing the @kadira folder from node_modules and readding it with npm update

screen shot 2016-09-14 at 10 32 09

@thani-sh
Copy link
Contributor

Hi @Donaldini
Can you share the repo ( or an example repo with the issue ).

@Donaldini
Copy link
Author

Couldn't share the code because it's a private repo, but we managed to fix the issue ourselves (should've waited longer to post this :-) ) .

The problem was linked to the local storage of the browser (in my case Chrome 53.0.2785.113), because when I tried it in Firefox, which I don't often use, the problem was non-existent.

I can only show you what it currently looks like in Firefox (even though it's not giving me issues just yet):

image

My Chrome > Developer Tools > Application > Storage > Local Storage was filled with items like the screenshot above.

After clearing the storage the problem was resolved. Maybe Storybook isn't cleaning its sessions that good up until the point where the local storage is saturated? :unsure:

sep -14-2016 11-43-20

TL;DR

  • Storybook filled up Local Storage
  • Clearing Local Storage solved problem :-)

@arunoda
Copy link
Member

arunoda commented Sep 14, 2016

We may need to look at how we use local storage.

@arunoda arunoda added the bug label Sep 14, 2016
@thani-sh
Copy link
Contributor

Fixed with v2.20.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants