Comments (19)
First of all this extension is real time server.
Second I got This extension has been corrupted
every time I click on the toolbar icon.
- My operating system is
Linux Mint 18 Sarah
- Node version is
v8.9.0
- NIM version is
0.14.2
If you need more information or some logs I will provide them.
from nim.
tl;dr temporary workaround:
If the user never clicks on the extension toolbar icon, NiM functions correctly and can be configured via the Options
link in the chrome://extensions
interface.
I get this error consistently on my Linux (Ubuntu 17.10
) Chrome with no other extensions installed.
details from chrome://version
:
Google Chrome: 61.0.3163.79 (Official Build) (64-bit)
Revision: 2bd57c7d956c47bc51eff132dd114136ec0a6db7-refs/branch-heads/3163@{#1092}
Steps to reproduce:
- Install extension
v0.14.2
from the chrome web store - The NiM icon appears in the extension toolbar
- Click on the icon in the toolbar
- The icon disappears (presumably because something happened to make Chrome mark the extension 'corrupted')
- Navigate to
chrome://extensions
- The error message reads:
This extension may have been corrupted
in red - Click
Repair
-> Popup ->Repair extension
and the extension is re-downloaded and re-enabled - Attempts to debug via the
inspect views: background.html
fail. When the toolbar icon is clicked and the extension is "corrupted" the debug window is immediately closed. - After the extension is repaired: Click on
Options
and theoptions.html
opens fine (thus, the temporary workaround mentioned at the top of this post)
from nim.
This is nigh impossible to debug as installing it from an unpacked local dir works fine.
My steps:
- From the command line:
cp -r ~/.config/google-chrome/Default/Extensions/gnhhdgbaldcilmgcpfddgdbkhjohddkj/0.14.2_0 /tmp/nim
rm -rf /tmp/nim/_metadata # chrome won't load extension w/ _metadata dir
- Navigate to
chrome://extensions
- Enable the
Developer mode
checkbox - Make sure no existing NiM extension is installed
- Click the
Load unpacked extension...
button - In the
Select the extension directory.
dialog open the/tmp/nim
dir
Everything works fine now...(i.e. clicking the extension toolbar icon does not cause chrome to mark the extension 'corrupted')
I have no idea...
from nim.
I see the same problem.
My operating system is Ubuntu 17.10
Node version is v8.8.1
NIM version is 0.14.3
Chrome version is 62.0.3202.94 (Official Build) (64-bit)
The workaround from @mckaydavis wasn't enough for me because my app uses a custom port and url, and I couldn't see a way to set these from the options page.
I made an attempt to debug it... Alas; the problem disappeared when I attempted to observe it! (Edit: just saw the same steps were made by mckaydavis)
Steps
- Enable
Developer Mode
for chrome extensions - Disable the extension
- Click
Load Unpacked Extension
- Navigate to the extension directory, for me that's
~/.config/google-chrome/Default/Extensions/gnhhdgbaldcilmgcpfddgdbkhjohddkj/0.14.3_0
- Open and Enable
Now everything works as expected...
There is one warning that appeared on the extension page during developer mode. Not sure if it's relevant:
There were warnings when trying to install this extension:
_metadata is a reserved directory that will not be allowed at the time of Chrome Web Store upload.
from nim.
@june07
I just downloaded NiM-0.14.5.crx and dragged the CRX file onto the Chrome window to install. Everything appears to work fine and clicking on the icon shows the options menu.
To further verify, I uninstalled NiM and installed it from the chrome web store. It still shows the same 'This extension may have been corrupted' message in chrome://extensions
.
from nim.
@hellsinglord22 Thanks. Will update install page to reflect that important tidbit!
from nim.
@jnv No, I'm seeing reports from every OS including macOS and Windows, and I had it happen to me in ChromeOS.
from nim.
@mckaydavis THANKS for your work on this!
from nim.
from nim.
For a temporary workaround, installing the CRX https://github.com/june07/NiM/releases file directly should work. Can anyone confirm...
from nim.
Yeah, I spent more time that I would have liked trying to track down the root cause!? For now I hope the majority of users experiencing the problem will find this workaround!
@mckaydavis THANK YOU for your continued support and feedback on this! Helped a ton having someone to work with on it.
from nim.
Just in case anyone trying to drag and drop, do this within the chrome://extensions
from nim.
I wonder, it looks like only Linux is affected? I used to get this error on Ubuntu 17.04 some time ago, now on macOS with Canary NiM works fine from WebStore.
from nim.
Happens for me. Ubuntu, Drag Drop does the same thing as normal store install, crashes when you press the icon. Can use options from the chrome://extensions tab
from nim.
Same as Kamshak :(
from nim.
Same issue here - works in Chromium, but in Chrome, the icon disappears as soon as I click it.
from nim.
from nim.
Not sure, Chromium is unstable and crashes on occasion when a new window/tab is opened automatically by NIM. It also starts to accumulate higher and higher CPU usage to the point of slowing everything down. This running on an 8700K. Definitely not NIM's fault - but I would like to have used it in the stable release of Chrome - which I can't.
I'm appalled at how debugging in Node is treated as an afterthought - whereas in any other mature language debugging is a core part of the developer experience. But that's a topic for another thread...
from nim.
Can you guys retry? I think this is fixed on chrome extension v2.0.2.
from nim.
Related Issues (20)
- Fix code scanning alert - Incomplete regular expression for hostnames
- Fix code scanning alert - Useless regular-expression character escape
- NiM Icon in Chrome Menu disappears when clicked HOT 5
- Setting to have inspector window maximized HOT 3
- Network tab HOT 8
- Latest Chrome update V76 stopped extension opening up new tab / finding local host HOT 23
- Runaway tab/window opening when devtools url is blank. HOT 2
- extension not saves auto/handle tumbler and not saves inspector-settings HOT 9
- Does NIM adaptable to other application than Node HOT 7
- Not working in chrome 83 HOT 6
- DevTools does not disconnect after update to version 2.4.0 HOT 2
- Problem to start the extension HOT 7
- Getting error WebSocket disconnected HOT 8
- Why does NiM need an active internet connection in order to operate? HOT 6
- Configuration page is cropped
- Undefined tooltip for runawayTabs
- Feature Request: Focus window only when debugger is paused HOT 7
- can manual port HOT 1
- NiM keyboard shortcut issue HOT 7
- [BUG] DevTools failed to load SourceMap: Could not parse content Unexpected end of JSON input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim.