Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Unable to start GraphQL server in GraphQL Architect #13

Open
toby-griffiths opened this issue Jun 20, 2021 · 7 comments
Open

Unable to start GraphQL server in GraphQL Architect #13

toby-griffiths opened this issue Jun 20, 2021 · 7 comments

Comments

@toby-griffiths
Copy link

I'm new to Neo4J & attempting to start up a GraphQL server from within Neo4J Desktop, however when opened it reports "Local GraphQL server not running".

When I click the 'Start' button, shortly afterwards I see INFO :: Local Graph Process Exit in the log window below the button.

And the LH panel just displays "Loading" spinner permanently.

Entries from the main.log


[2021-06-20 13:52:34.723] [info] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-06-20 13:52:34.824] [info] Online check response: 200 version: 1.4.5
files
[2021-06-20 13:52:45.819] [info] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-06-20 13:52:45.912] [info] Online check response: 200 version: 1.4.5
files
[2021-06-20 13:52:49.727] [error] Failed to send event to Desktop Project mixpanel MemoryInfo {
  event: '@grandstack/graphql-architect:desktop_startup-workspace_data',
  properties: MemoryInfo {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'Movies',
    dbmsVersion: '4.2.1',
    dbmsEdition: 'enterprise',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:52:49.885] [info] Executing node graphql inferschema --neo4j-user neo4j --neo4j-uri bolt://localhost:7687 --neo4j-password movies  --database neo4j
[2021-06-20 13:52:50.440] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:graphiql-save',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:52:50.443] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:typedefs-infer',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:52:51.519] [info] Process [81815] exit with code '0', signal 'null'
[2021-06-20 13:52:51.540] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:graphiql-save',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:53:00.454] [info] Executing node graphql dev --types type Person {
  name: String
  age: Int
  worksFor: [Company] @relation(name: "WORKS_FOR", direction: "OUT")
}

type Company {
  name: String
  employees: [Person] @relation(name: "WORKS_FOR", direction: "IN")
} --neo4j-user neo4j --neo4j-uri bolt://localhost:7687 --neo4j-password movies --graphql-port 4000  --database neo4j
[2021-06-20 13:53:01.606] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:localServer-start',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:53:03.650] [info] Process [81987] exit with code '0', signal 'null'
[2021-06-20 13:53:14.733] [info] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-06-20 13:53:14.866] [info] Online check response: 200 version: 1.4.5
files

OS: MacOS 10.15.7 (19H1217)
Neo4J Desktop: 1.4.5 (1.4.5.55)
Running as a non-admin with sudo permissions

@L-Botero
Copy link

L-Botero commented Jul 9, 2021

Having the exact same issue
OS: Windows 10
Neo4J Desktop: 1.4.7
Running as admin

image

@lonniev
Copy link

lonniev commented Jul 14, 2021

Does anyone have a video or article on what we should be seeing here? Probably, obviously, the Loading Spinner should go away. ;-) There's nothing evident to indicate what is going wrong. The Export feature claims to generate "local" files but nothing appears in the available folder path provided.

Functional tool or vaporware?

@vimsvei
Copy link

vimsvei commented Jul 29, 2021

I've similar problem.

OS: MacOS 11.4 (20F71)
Neo4j Desktop: Version 1.4.7

@L-Botero
Copy link

L-Botero commented Aug 2, 2021

Looks like the tool stopped working after an update to Neo4j desktop, still waiting on a fix
see here for answer from developer: #10 (comment)

@SR253
Copy link

SR253 commented Aug 20, 2021

Same problem, infinite loop when trying to connect to local database. Latest version Neo4j Desktop

@zhibor
Copy link

zhibor commented Dec 3, 2021

hope this gets fixed soon.

@kristianmandrup
Copy link

kristianmandrup commented Dec 7, 2021

This package is obsolete. Unfortunately the source code has not been made available so we can fix it.

Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.

It likely only works on an older version of the Neo4J Desktop which uses an older version of NodeJs and older dependencies (Neo4J Desktop from around 2019 - June 2020)

yarn add @grandstack/graphql-architect
yarn add v1.22.5
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning @grandstack/graphql-architect > react-scripts > [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
warning @grandstack/graphql-architect > react-scripts > [email protected]: please switch to a stable version
warning @grandstack/graphql-architect > react-scripts > [email protected]: This loader has been deprecated. Please use eslint-webpack-plugin
warning @grandstack/graphql-architect > react-scripts > [email protected]: "Please update to latest v2.3 or v2.2"
warning @grandstack/graphql-architect > fomantic-ui > gulp-concat-filenames > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning @grandstack/graphql-architect > fomantic-ui > gulp-dedupe > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning @grandstack/graphql-architect > react-scripts > webpack-dev-server > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @grandstack/graphql-architect > fomantic-ui > gulp > glob-watcher > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @grandstack/graphql-architect > react-scripts > webpack-dev-server > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @grandstack/graphql-architect > semantic-ui-react > react-popper > [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning @grandstack/graphql-architect > fomantic-ui > gulp-concat-css > rework > css > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @grandstack/graphql-architect > fomantic-ui > gulp-concat-css > rework > css > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @grandstack/graphql-architect > fomantic-ui > gulp-concat-css > rework > css > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @grandstack/graphql-architect > react-scripts > babel-jest > @jest/transform > jest-haste-map > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @grandstack/graphql-architect > react-scripts > @svgr/webpack > @svgr/plugin-svgo > [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning @grandstack/graphql-architect > react-scripts > webpack-dev-server > sockjs > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @grandstack/graphql-architect > react-scripts > webpack-dev-server > webpack-log > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @grandstack/graphql-architect > react-scripts > webpack-dev-server > url > [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning @grandstack/graphql-architect > react-scripts > jest-environment-jsdom-fourteen > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @grandstack/graphql-architect > react-scripts > jest-environment-jsdom-fourteen > jsdom > request > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @grandstack/graphql-architect > react-scripts > jest-environment-jsdom-fourteen > jsdom > [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning @grandstack/graphql-architect > react-scripts > webpack > watchpack > watchpack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @grandstack/graphql-architect > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/[email protected]: Switch to 'npm install joi'
warning @grandstack/graphql-architect > react-scripts > babel-jest > @jest/transform > jest-haste-map > [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning @grandstack/graphql-architect > react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @grandstack/graphql-architect > react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning @grandstack/graphql-architect > react-scripts > optimize-css-assets-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning @grandstack/graphql-architect > react-scripts > jest-environment-jsdom-fourteen > jsdom > request > [email protected]: this library is no longer supported
warning @grandstack/graphql-architect > react-scripts > postcss-preset-env > postcss-color-gray > postcss-values-parser > [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
warning @grandstack/graphql-architect > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/[email protected]: Moved to 'npm install @sideway/address'
warning @grandstack/graphql-architect > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @grandstack/graphql-architect > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @grandstack/graphql-architect > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/topo > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @grandstack/graphql-architect > react-scripts > workbox-webpack-plugin > workbox-build > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @grandstack/graphql-architect > react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > [email protected]: use String.prototype.padStart()
warning @grandstack/graphql-architect > react-scripts > workbox-webpack-plugin > workbox-build > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime > [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants