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

Clean clone compress does not work: '../build/manifest.json' not found. #81

Open
conanbatt opened this issue Oct 18, 2017 · 2 comments
Open

Comments

@conanbatt
Copy link

  • Clone project
  • npm install
  • npm run build
  • npm run compress

fails silently

Upon inspecting, the promise fails when the crx dependency cant resolve the manifest.json within the build folder, even though the file exists.

@doityourselfcoding
Copy link

I had the same error when i tried to load the root into chrome, when i should have just done the dev folder.

@jgf5013
Copy link

jgf5013 commented Nov 4, 2017

I installed path and changed the crx.load call in compress.js to this:
crx.load(path.join(__dirname, '../build'))

Also added some console logs and try/catches to see what is the script is actually doing.

Hope it helps!

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

3 participants