zalmoxisus / redux-devtools-extension

Redux DevTools extension.
MIT License
13.49k stars 1.01k forks source link

Since this morning I'm getting "No store found. Make sure to follow the instructions." #547

Open hackhat opened 6 years ago

hackhat commented 6 years ago

I use the same app version of last night and was working.

mbtts commented 6 years ago

Some questions to try and help diagnose:

Is this in Chrome, Firefox or both browsers? Is your redux store large (or can it vary in size)? Do you see any errors if you run with pause on exceptions (including caught exceptions) enabled?

hackhat commented 6 years ago

Chrome. Store has less than 1500 objects, no errors. Works randomly

mrdj07 commented 6 years ago

Me too, and I believe the timing is about the same. About a week ago Redux dev-tools starting crashing and it cannot load the chart very quickly. It reacts really poorly to state changes, even if the changes are really simple.

It worked flawlessly the week before, with the same app I'm working on right now, which does not have any significant changes to the store.

Chrome 68.0.3440.106 on OS X 10.13.6.

hackhat commented 6 years ago

So I'm still get randomly this issue

mbtts commented 6 years ago

Thanks @hackhat. The reason I was asking was to see if it was related to #543, however from your description this is unlikely to be the case.

mrdj07 commented 6 years ago

I'm sorry it's been an error on my part. Actually there was a significant modification made to the store, not to my knowledge at the moment of reporting. Fixing the issue on my end fixed the problem, though I had the exact same error as @hackhat. A developper added a gigantic JSON file as a require() to an initial state. This caused the issue.

hackhat commented 6 years ago

Looks like if I refresh, I quickly move to another tab, come back to my app, the redux dev tools, can't find the store. I can reproduce many many times.

hackhat commented 6 years ago

Also sometimes I can see the redux store for 1 second and then it says there is no store.

hackhat commented 6 years ago

Now it happens so many times I can't work anymore.

ghost commented 5 years ago

Following up on this as well. It seems to randomly vary between working fine when I refresh or I see a flash of the actions list for a split second before it disappears to the "no store found" error.

elsueno commented 5 years ago

I have the same problem. Directly after loading the devtool UI is displayed properly. After about 1 second it disappears and "No store found. Make sure to follow the instructions." is displayed. Happens on Chrome 65.0.3325.181

alk-jerber commented 5 years ago

We have the same problem No store found. Make sure to follow the instructions. occurs a lot now (Chrome 69) when clicking on the redux devtools tab in chrome devtools. Of course it is initialized correctly. Either it doesn't appear right away or it disappears after a second as described above. It only seems to work again after closing and reopening Chrome devtools AND reloading of the page until it stops working again after a few page reloads (randomly).

Just wanted to mention that when it is working the plugin is unresponsive for ~10 seconds on page load.

Is our store too big? Its a 70K lines object (around 2.3MB of data) and we are launching around 100 actions on page load. Or could anything else in our store cause these issues? Are there any settings where we could adjust that?

alk-jerber commented 5 years ago

Ok it seems to work when you right click and select Reload Frame

screen shot 2018-10-26 at 16 06 39
Sawtaytoes commented 5 years ago

I've been having the same issue seeing "No store found" in Chrome since sometime in March. It's only gotten worse, and seems to be random when it happens. I've been seeing it at work, and our clients only use Chrome, so I haven't verified if it happens in other browsers.

I'd like to see if a debug mode could be activated for the plugin. If I could log something on crash and either examine it myself or send it to the Redux Devtools Extension team, we could swiftly resolve this issue.

Does such a mode exist?

RavenHursT commented 5 years ago

Experiencing similar. When I have a redux app open, and open the redux devtools, things work fine. But as soon as I refresh the page, I get the "No store found" message.

In order to get the store back in the tools, I have to close Chrome DevTools and reopen the them and then go back to the Redux panel. Extremely annoying to say the least.

At least the workaround above seems to work, so now just right click and choose to reload the frame. Thanks @johanneserber !

zalmoxisus commented 5 years ago

Looks like the problem is that Redux store was created before Chrome injected extension's script, so window. REDUX_DEVTOOLS_EXTENSION doesn't exist to include in the compose. We are relying on the fact that Chrome injects extension script begore executing app script and it happened so most of times. Seems the problem appears more often from recent Chrome versions.

The best way to handle this for a app is to create the store asynchronously, so you can be sure that extension's script is executed before. Also in this way you can persist initial state from localStore. But of course it doesn't fit all use cases.

We can just add the workaround suggested above to the message. Any other thoughts on this?

zalmoxisus commented 5 years ago

In 2.16 reload workaround wouldn't be necessary, it will land in a day on Chrome Store. I'll implement a pooling method and the ability to autoreload the page injecting page script in 3.0 so it should be more stable.

arturhun commented 5 years ago

@zalmoxisus I know this issue has been closed now, but FYI: This "reload frame" workaround was still necessary for me with v. 2.17.0 / Chrome Version 75.0.3770.100

  "dependencies": {
    "@angular/animations": "~7.2.0",
    "@angular/common": "~7.2.0",
    "@angular/compiler": "~7.2.0",
    "@angular/core": "~7.2.0",
    "@angular/forms": "~7.2.0",
    "@angular/platform-browser": "~7.2.0",
    "@angular/platform-browser-dynamic": "~7.2.0",
    "@angular/router": "~7.2.0",
    "@ngrx/effects": "7.4.0",
    "@ngrx/store": "7.4.0",
    "@ngrx/store-devtools": "7.4.0",
    "core-js": "^2.5.4",
    "rxjs": "~6.3.3",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
akamensky4xxi commented 5 years ago

Have the same issue in Firefox and Chrome

timotgl commented 5 years ago

I had an older version of the extension installed. Removing the Chrome extension and re-installing it worked for me with Chrome 76.0. Chrome's auto-updating of extensions either didn't happen or failed somehow in this case.

LeTranAnhVu commented 4 years ago

Ok it seems to work when you right click and select Reload Frame

screen shot 2018-10-26 at 16 06 39

You saved my life. Thank a lot

terrynguyen255 commented 3 years ago

I'm facing the same problem. window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ is always undefined Version: 2.17.0 on Ubuntu Chrome

Tried these but doesn't help:

  1. Turned on "Allow access to file URLs" image

  2. Click "Reload frame" image

bishal5917 commented 2 years ago

Right Click and Hit Reload Frame.It will work.Worked For me !!!

garipfederico commented 1 year ago

I have the same issue in Mozilla and I dont know why, the add blocker was activated for localhost:3000 so I turned it off and it works. imagen