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

Updating To Latest Version Breaks MUP #757

Closed
SevenZark opened this issue Oct 2, 2017 · 4 comments
Closed

Updating To Latest Version Breaks MUP #757

SevenZark opened this issue Oct 2, 2017 · 4 comments

Comments

@SevenZark
Copy link

I am working on a Mac. In a new project, I issued the command:
mup init

I then got a message that I needed to update MUP. So I did this:
npm i -g mup

And got the following error:

npm ERR! path /usr/local/lib/node_modules/mup/node_modules/opencollective/dist/bin/opencollective.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/mup/node_modules/opencollective/dist/bin/opencollective.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/[redacted]/.npm/_logs/2017-10-02T15_00_07_973Z-debug.log

Even worse, mup now appears to be broken on my system. When I issue any mup command I get this:
bash: /usr/local/bin/mup: No such file or directory

Which means my project is now dead in the water.

@zodern
Copy link
Owner

zodern commented Oct 2, 2017

@SevenZark did you try running npm uninstall -g mup and reinstalling?

@SevenZark
Copy link
Author

@zodern Yes, I still get the same error message when trying to install again after uninstalling.

@zodern
Copy link
Owner

zodern commented Oct 2, 2017

It is a bug with the opencollective cli: opencollective/opencollective-cli#3

You can install a working version of mup with npm install -g mup@1.2.11.

@SevenZark
Copy link
Author

Thanks!

@zodern zodern closed this as completed Oct 3, 2017
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