medis icon indicating copy to clipboard operation
medis copied to clipboard

binary built locally cannot open on my mac

Open tobyforever opened this issue 7 years ago • 17 comments

I followed the instruction but the generated binary Medis.app cannot open on my mac 10.11.6. the connection window didn't show up. the size of the binary is 105.9M.

tobyforever avatar Feb 21 '17 13:02 tobyforever

run into the same problem with upstairs

jergoo avatar Feb 24 '17 02:02 jergoo

That's strange. I'll look into it on this weekend.

luin avatar Feb 24 '17 04:02 luin

Run into the same issue.

It works when I do the following

npm install
npm run dev
npm start

However, this does not work

npm install
npm run deploy

chuanconggao avatar Feb 27 '17 04:02 chuanconggao

What's the version of npm did you use? I'm using npm v2 and it works fine. Seems to be caused by the different dependency directory structures generated by npm v2 and npm v3.

luin avatar Feb 27 '17 04:02 luin

@luin My npm version is 4.4.0 and my node.js version is 7.6.0.

chuanconggao avatar Feb 27 '17 05:02 chuanconggao

I met this problem too. It works when I use:

npm run dev
npm start

pkumza avatar Feb 27 '17 07:02 pkumza

'npm run deploy' can show the main window, but click 'About Medis', won't show the right version number.

qq20170227-171117 2x

yaoxinghuo avatar Feb 27 '17 09:02 yaoxinghuo

+1

zxl777 avatar Feb 28 '17 00:02 zxl777

如@luin 所说,使用npm v2编译确实可以启动,但是 @yaoxinghuo 的贴图的version还是无法显示。使用npmbrew可以自由切换npm版本

baryon avatar Mar 01 '17 05:03 baryon

To fix #version# issues after npm run deploy run

perl -pi -e "s/#version#/$(cat package.json | json version)/g" ./Medis.app/Contents/Info.plist

You will need a json module: npm install -g json

I have copied it from bin/release.

sergeymakinen avatar Mar 01 '17 13:03 sergeymakinen

Facing the same issue. The build is not working on my macOS.

SumonMSelim avatar Mar 14 '17 19:03 SumonMSelim

Using nvm, I installed node version 4.8 which has npm 2 and with that I was able to build and open the app

nvm install 4.8
nvm use 4.8
npm install
npm run deploy

jhonyf avatar Mar 17 '17 02:03 jhonyf

Similar problems using:

$ node -v
v7.7.4
$ npm -v
4.1.2

stepheneb avatar Mar 28 '17 14:03 stepheneb

Builds fine but displays no window on osx.

$ npm -v
4.2.0
$ node -v
v7.9.0

Hiding a successful build behind a paywall is pretty dumb because if a drive-by contributor can't easily see how something is supposed to work, why would he ever stop to take a look? This project has developed painfully slowly because of that decision.

I'd argue that the complete lack of documentation on building is also deliberate. I'd also argue that there is something very fishy about the deploy/release not working.

krazyjakee avatar Apr 25 '17 09:04 krazyjakee

check out #77 and this commit: 0e4ae58a1de in ogasawaraShinnosuke fork

Medis now builds and runs for me.

stepheneb avatar Apr 27 '17 23:04 stepheneb

@krazyjakee does it work if you try my fork in https://github.com/luin/medis/issues/73?

doublesharp avatar Aug 05 '17 19:08 doublesharp

It worked for me:

  1. Download latest version from release page.
  2. Used latest Node 4.x version (using tj/n).
  3. Ran: npm install, then npm deploy.

Profit!

rmariuzzo avatar Aug 31 '17 00:08 rmariuzzo

Hello 👋

Our development focus has now shifted to the next generation of Medis: Medis 2. Compared to its predecessor, Medis 2 offers enhanced performance, more powerful features, and a more delightful interface. If you encounter any problems with Medis 2, feel free to reopen this issue, and together, we can explore possible solutions.

Download Medis 2 for free: https://getmedis.com/. Thanks for using and supporting Medis 1!

luin avatar Sep 17 '23 11:09 luin