Skip to content
This repository was archived by the owner on Nov 27, 2019. It is now read-only.

Show a better error when running jpm from the wrong directory #530

Open
kumar303 opened this issue May 18, 2016 · 0 comments
Open

Show a better error when running jpm from the wrong directory #530

kumar303 opened this issue May 18, 2016 · 0 comments

Comments

@kumar303
Copy link
Contributor

jpm should show a better error when not running from the source of an add-on. Instead it shows something like this:

$ jpm xpi
JPM [info] Starting jpm xpi on undefined
JPM [error] XPI creation failed: Error: Could not parse `package.json` file.

ENOENT: no such file or directory, open '/Users/kumar/package.json'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant