danhper / atomic-chrome

Edit Chrome textareas in Atom
https://goo.gl/Et0hwg
MIT License
917 stars 30 forks source link

Cannot load Atomic-Chrome extension in Chrome in developer mode #32

Open slowjoe17 opened 6 years ago

slowjoe17 commented 6 years ago

Current behaviour: When trying to load the atomic-chrome extension manually from a git repo, it doesn't work.

I get an error message saying the following:

Error Loading Extension Failed to load extension from: ~/git/atomic-chrome/app Could not load background script 'scripts/background.js'.

Expected behaviour: Should be possible to load extension from a copy of the source, or there should be instructions explaning how to make it work.

Versions: Linux: Debian 4.9.51-1 Chrome: Version 63.0.3239.84 (Official Build) (64-bit)

Steps to reproduce:

  1. Clone repo to ~/git git clone https://github.com/tuvistavie/atomic-chrome.git
  2. Open chrome://extensions in Chrome
  3. Tick "Developer Mode"
  4. Click "Load unpacked Extension" and navigate to git repo on local storage

I tried both the top level directory and the app directory for this.

slowjoe17 commented 6 years ago

Ping @tuvistavie

Is this a known problems?

Is there a workaround?

danhper commented 6 years ago

Hi, I suspect you did not compile the source code. Try running

npm install
npm run build

and try loading the app directory after.

Let me know if that works for you.