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

Update path? #238

Open
danielo515 opened this issue Mar 10, 2021 · 6 comments
Open

Update path? #238

danielo515 opened this issue Mar 10, 2021 · 6 comments

Comments

@danielo515
Copy link

Hello.
I have a project stuck on rekit@2.x and I wish to upgrade to rekit 3, but everytime I try it fails. If I update rekit-core and rekit-studio to latest I get errors on the start script because seems that rekit-studio/middleware doesn't exist anymore.
So, how should I update the scripts and the packages to continue the project with the latest rekit versions?

@supnate
Copy link
Owner

supnate commented Mar 10, 2021

rekit-studio 3 should be global installed now. Use npm install rekit-studio -g then start it under your project by rekit-stuido -p <port>, by default the port is 3000 now. Also you may need to update npm start script to exclude the logic that starts the old rekit-studio. You can refer to the new start script at: https://github.com/supnate/rekit-boilerplate-react/blob/master/scripts/start.js .

@supnate
Copy link
Owner

supnate commented Mar 10, 2021

BTW, if you use a Mac, download the desktop app at: https://github.com/rekit/rekit-app/releases .

@danielo515
Copy link
Author

Hello @supnate , thanks for your prompt response.
That start script is what I was looking for.
I already downloaded the rekit app, but on my version of MAC it tells me that I don't have permissions to execute it, which is a problem I solved before for other apps, but I don't have time now to play the stupid dance apple wants to force me into.

I'll try to update it locally on the project I'm using (I tried and failed because the start script) and report back.

@supnate
Copy link
Owner

supnate commented Mar 11, 2021

Oh, the desktop app would be much more convenient and it has more features if you use a Mac. You can follow the step https://support.apple.com/en-in/HT202491 to open a developer-signed Mac app.

@danielo515
Copy link
Author

danielo515 commented Mar 11, 2021

Hello @supnate ,
I used the app previously, and this is not the common problem of "This app is from an unidintified developer", it's about the permissions of the packaged app contents:
image

I faced this problem before and it was not so simple to fix.

The way I fixed this in the past was by fixing the package permissions contents:

chmod -R 755 /Users/danielo/Downloads/Rekit.app

That removes the permission message and allows me to try to open the app, but then I get the next error:
image

Maybe it is not compatible with my version of MacOs? BigSur

@danielo515
Copy link
Author

I gave up trying to update local rekit and I just installed rekit-studio globally. However, this is what I got:

image

It works, but it has the problem reported #226 , which ignores the local templates

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