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

Clipboard crashes when you update plugins. #12

Open
cecoates opened this issue Jan 9, 2017 · 5 comments
Open

Clipboard crashes when you update plugins. #12

cecoates opened this issue Jan 9, 2017 · 5 comments
Labels

Comments

@cecoates
Copy link

cecoates commented Jan 9, 2017

When you update plugins, and then launch Zazu again, the clipboard crashes with the error:

"ENOENT: no such file or directory, open '/home/cecoates/.zazu/plugins/tinytacoteam/zazu-clipboard/node_modules/underscore/underscore.js'"

It will also sometimes return the same error mentioned here:

#9

Deleting zazu-clipboard and clicking reload config fixes it. But the next time you click update plugins it happens again.

Expected Behavior

Click update plugins. Launch Zazu. No errors.

Actual Behavior

Click update plugins. Launch Zazu. Clipboard crashes with error.

Steps to reproduce the behavior

Select update plugins. Alt+Space to start Zazu. Clipboard crashes.

Versions

Zazu: 2.3
OS: Linux debian 4.8.0-2-amd64 #1 SMP Debian 4.8.11-1 (2016-12-02) x86_64 GNU/Linux
jan 6 2017 7-45 pm - edited

GIT (if you have it installed):

Please, include a link to gist of most applicable ~/.zazu/log/ file.

zazu.log (copy).2017-01-09.txt

http://cld.wthms.co/PWn0

@bayleedev
Copy link
Member

Thank you for reporting this!

@bayleedev bayleedev added the bug label Jan 9, 2017
@twang2218
Copy link
Member

@cecoates It seems the dependencies of zazu-clipboard are broken, is it possible something happened during the upgrade? such as internet access problem?

Could you try run upgrade again? or manually re-install the dependencies:

$ cd ~/.zazu/plugins/tinytacoteam/zazu-clipboard/
$ git pull
$ rm -rf node_modules
$ npm i --production

@antoine-atmire
Copy link

Same happens to me.

$ ls -1 ~/.zazu/plugins/tinytacoteam/zazu-clipboard/node_modules
color
js-htmlencode
mkdirp
nedb
recast
s-ago

When I run npm i --production all the missing dependencies are added, but when I let zazu update the plugins afterwards they're gone again.

This is with zazu v0.4.0 on ubuntu 16.10

@bayleedev
Copy link
Member

@antoine-atmire what version of git do you have, if any?

Is that the node_modules before or after the npm i --production call?

@antoine-atmire
Copy link

antoine-atmire commented Feb 22, 2017

That list is when zazu updates its plugin. This is the list when I run npm i --production myself:
acorn amdefine ast-types async base62 binary-search-tree clone color color-convert color-name color-string core-util-is es3ify esmangle-evaluator esprima-fb falafel foreach immediate inherits inline-process-browser isarray js-htmlencode jstransform lie localforage minimist mkdirp nedb object-keys private readable-stream recast s-ago source-map string_decoder through through2 underscore unreachable-branch-transform xtend

My git version is 2.9.3

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

No branches or pull requests

4 participants