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

Cannot GET / #9

Open
Moutard3 opened this issue May 26, 2020 · 2 comments
Open

Cannot GET / #9

Moutard3 opened this issue May 26, 2020 · 2 comments

Comments

@Moutard3
Copy link

When I start rekit-studio, it starts successfully but then when I go on the web app I got

Cannot GET /

Here's what I do to start it:

PS C:\Workspace\web\project> rekit-studio
[2020-05-26 07:09:23.878] [studio] [info] Starting Rekit Studio:  {"port":3000,"projectRoot":"C:\\Workspace\\web\\project","pluginDir":null,"pluginsDir":null}
[2020-05-26 07:09:23.923] [info] All plugins: ["default","terminal","scripts","test","git-manager","pty","typescript","rekit-studio-info","common-core","rekit-plugin","rekit-react"]
[2020-05-26 07:09:23.924] [info] Applied plugins for appType rekit-react:  ["default","terminal","scripts","test","git-manager","pty","typescript","rekit-studio-info","rekit-react"]
[2020-05-26 07:09:23.926] [studio] [info] Remote ui plugins: []
[2020-05-26 07:09:24.335] [studio] [info] Rekit Studio is running at http://localhost:3000/
@Moutard3
Copy link
Author

Update: It's working when I use the startDevServer script instead of start

@MatthewScholefield
Copy link
Contributor

MatthewScholefield commented Sep 4, 2020

I think this is a problem with installing directly from GitHub. Could you confirm that this was caused from something like npm install http://github.com/user/repo? The reason is that it looks like the official packages in npm are deployed a specific way that includes the generated static assets alongside the package. Without redeploying using the scripts in the repo (ie. just installing directly through git), it can't GET any of the static assets.

Also, by the way, if you wanted to install the latest version without erroring from the node-pty install, you can download the existing npm tgz file, modify the inner package.json, and then install that. This retains the generated resources. I've already done this with the latest version that can be installed with:

npm install -g https://gist.github.com/MatthewScholefield/b5eb628633be28daff994c2fbb917b74/raw/68d4ff48702f44b2991b96e6a46b9d335f5093af/rekit-studio-3.0.4.tgz

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