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

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

Open
slowjoe17 opened this issue Dec 9, 2017 · 2 comments
Open

Comments

@slowjoe17
Copy link

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
Copy link
Author

Ping @tuvistavie

Is this a known problems?

Is there a workaround?

@danhper
Copy link
Owner

danhper commented Dec 13, 2017

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.

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

No branches or pull requests

2 participants