-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
npm start results in error caused by outdated GraphiQL client in "explorer" app #397
Comments
@LeosPrograms this is the bug that was related I am trying to make sense of what can be done |
what version of nodejs are you on? and, you could try bumping this version of holochain client to one of the most recent, but hopefully that wouldn't create other issues
|
It does seem strange that you're getting this error. I was able to run an installation on a fresh clone without issues, though I did have to cherry-pick @LeosPrograms' commit to fix the launch command (thanks for that). Just to be sure we're on the same page, this should reset you:
However, there is also a partially completed upgrade to Holochain 0.2.x in progress on |
It might also be worth separating out
|
@LeosPrograms I see what's wrong. It's actually a bug in the TypeScript build configuration of the GraphiQL explorer. So the libraries compile fine but I don't know that it's necessarily worth fixing this at the moment given that we could spend a lot of time upgrading GraphiQL & its underlying React / Webpack config; or even swap it out for a more modern client app. I'll update the issue title and leave this open, in any case. For now if it's possible to do your testing as integration test scripts then I think that's the best way of proceeding. Have a look at the 'test' script in It should look something like this:
|
Note above^ the CI process will no longer build the explorer |
This is an error in
apps/hrea-graphql-explorer
due to non-compliant ESModules being used by the Holochain client libraries. It only affects this example app and does not impact building & packaging of the hREA libraries, or execution of integration tests.The bug manifests with the following terminal output:
The text was updated successfully, but these errors were encountered: