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

Ember inspector not working in Chrome. #2107

Closed
DhivyaJanakiraman opened this issue Aug 19, 2022 · 18 comments
Closed

Ember inspector not working in Chrome. #2107

DhivyaJanakiraman opened this issue Aug 19, 2022 · 18 comments
Labels

Comments

@DhivyaJanakiraman
Copy link

Describe the bug
Ember inspector is not working in Chrome.

To Reproduce
Steps to reproduce the behavior:

  1. Install "Ember Inspector" chrome plugin.
  2. Go to any website that is built using EmberJs (Eg www.linkedin.com)
  3. Click on 'Ember' in dev tools
  4. I see the "Ember application not detected!" message

Expected behavior
Ember inspector plugin used to work by displaying the tree view/components/routes etc for an ember application.

Screenshots
Screen Shot 2022-08-18 at 5 13 50 PM

Environment
Ember - '3.28.9'
Browser - Chrome 104.0.5112.79

@latha-karbonhq
Copy link

Same for me.

@zion
Copy link

zion commented Aug 19, 2022

Noticed this today as well. Was working for me a few days ago though.

@sivaramanj95
Copy link

sivaramanj95 commented Aug 19, 2022

Same for me. It was not working in firefox as well.

@DhivyaJanakiraman
Copy link
Author

Yes not working in Firefox as well and it was working fine for me till couple of days back.
For now, I installed older version of ember-inspector 4.6.0 to get the plugin to work

@jamalrefaideen
Copy link

jamalrefaideen commented Aug 19, 2022

yes it is not working in all browser please resolve it asap

@reiallenramos
Copy link

reiallenramos commented Aug 19, 2022

For everyone affected by this, I got in touch with one of the devs and he said 4.6.2 is on Google's review process. I don't know how long that takes but if you are blocked you can install the zipped version manually.

https://github.com/emberjs/ember-inspector/releases/tag/v4.6.2

Edit: It's available now in Chrome Web Store but the error is still present.

@Ganapathy77
Copy link

Does the older versions work fine

@chsanch
Copy link

chsanch commented Aug 19, 2022

I've just installed 4.6.2 but is not working (Firefox, Brave), meanwhile I'm just using the bookmarklet workaround commented here: #2104 (comment)

@kprasadpvv
Copy link

@Ganapathy77 ,
Yes the older version 4.5.11 is working in chrome.

Follow below steps:
Download https://github.com/emberjs/ember-inspector/releases/tag/v4.5.11 the zip file and extract it.
Navigate to the folder in terminal and
run yarn install
run yarn build to build the dist directory

Visit chrome://extensions/ in Chrome
Make sure Developer mode is checked
Click on 'Load unpacked extension...'
Choose the dist/chrome folder in the cloned repo
Close and re-open developer tools if it's already open

Note:
make sure only the manually loaded extension is only enabled. (i.e., disabled the 4.6.2)

@reiallenramos
Copy link

I'm still having issues despite updating to 4.6.3 and cannot perform kprasadpvv's workaround as my Chrome is managed by my admin.

@RobbieTheWagner
Copy link
Member

@reiallenramos are you sure you are on 4.6.3? It should work.

@reiallenramos
Copy link

reiallenramos commented Aug 22, 2022

@rwwagner90 hi, yes I'm on 4.6.3 and haven't been able to make it work again. Have tried reinstalling the extension with no luck.

Edit:
I'm on Ubuntu Pop!_OS 22.04 LTS
My collegue is on macOS and it works for him after updating to 4.6.3

image
image

@RobbieTheWagner
Copy link
Member

@NullVoxPopuli any ideas what would be different on Ubuntu?

@NullVoxPopuli
Copy link
Sponsor Contributor

on Firefox, I see no issues running on Ubuntu with 4.6.3
on Chrome, I see no issues running on Ubuntu with 4.6.3.

I tested with https://limber.glimdown.com -- which is running ember-source 4.6.0

@reiallenramos
Copy link

Tested also with https://limber.glimdown.com/ and it works! At least I know the bug is somewhere in our project setup. Thanks for the help @rwwagner90 @NullVoxPopuli

@RobbieTheWagner
Copy link
Member

@reiallenramos What Ember version are you on?

@reiallenramos
Copy link

reiallenramos commented Aug 25, 2022

@rwwagner90 we have two apps

  1. Ember 1.9.1 (Ember Inspector works)
    image

  2. Ember 3.17.3 (Ember Inspector doesn't work)
    image

Edit: reuploaded screenshots to hide potentially sensitive details

@reiallenramos
Copy link

In case someone, somewhere would have this issue too.
The app is throwing the following error. Removing the ember node module from package.json and rebuilding removed the warning and fixed Ember Inspector as well.
image

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