-
Notifications
You must be signed in to change notification settings - Fork 90
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
Not able to run editor locally following instructions in Readme #1305
Comments
if you run Can you post your environment details? |
This issue is older than a year, not sure if my problem was the same one: I cloned the repo (currently on commit 691d619) and ran EDIT: This first block of the terminal session was only copied by accident. I leave it here for historical reasons. Please focus on the second block of output only, which shows the relevant part.
When ignoring those errors and running
This sounds like the problem OP described. Quick-Fix for UsersInstall Suggested Solution For MaintainersAdd a note to the README.md, that The custom script only seems to to handle the examples. If vega-editor would make them optional (just like the https://github.com/vega/editor-backend is optional too) then that would be even better. |
Something is off because there is a lock file. |
@domoritz Thank you for your swift reply. Can you explain your decision to close this issue? I cannot follow, maybe because I'm not familiar with tools like yarn.
Do you mean Could it be that you meant to say »because there is no lock file«? The second line of my log said so. I accidentally copied too much of my terminal. Please have a look at the line after I wanted to give you a way to reproduce this easily, using below docker command. However, that fails with yet another error:
prints (
See the attached full log log.txt using |
Yeah, I got confused by your logs. Thanks for clarifying the message now. I accidentally closed this. Thanks also for finding the cause here. |
I think either updating the docs or using rm and cp (probably preferred) makes sense. I originally used rsync because it was faster but that's probably not as relevant anymore with modern ssds. Would you send a pull request to switch to the simpler setup? |
Sure, see #1444
I was curious how much of an impact that had, and tested it after my changes. I wasn't able to reproduce any benefits on my systems and the currently used vega versions. I think switching to |
Hello, Thanks for maintaining this library!
I have not been able to run the editor in my machine following the instructions in the Readme. At first, the yarn start throws an error saying "tsconfig.json" is missing. I noticed that it was added to gitignore. I found an older version in the commit history and bypassed that error. Then,
yarn start
failed stating that public/spec/vega/index.json and vega-lite/index.json are missing. I found older versions from the commit history to start the server.Could you please update the Readme with instructions on how to run the editor locally?
The text was updated successfully, but these errors were encountered: