Package Details: graphql-lsp 3.2.23-3

Git Clone URL: https://aur.archlinux.org/graphql-lsp.git (read-only, click to copy)
Package Base: graphql-lsp
Description: GraphQL Language Service provides an interface for building GraphQL language services for IDEs.
Upstream URL: https://www.npmjs.com/package/graphql-language-service-cli
Provides: graphql-language-service-cli
Submitter: pjvds
Maintainer: pjvds
Last Packager: pjvds
Votes: 1
Popularity: 0.000927
First Submitted: 2021-04-22 14:13 (UTC)
Last Updated: 2022-05-06 12:09 (UTC)

Latest Comments

lervag commented on 2024-03-26 07:43 (UTC)

The package is outdated. As far as I can tell, this should suffice to update to the latest version:

diff --git a/PKGBUILD b/PKGBUILD
index 172cac2..9706d86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
 # Maintainer: pjvds <pj@born2code.net>
 # Maintainer: Hrvoje Juric <5b0bae33-0d7b-4297-b3a5-f6294b4bfd39@anonaddy.me>
 _npmname=graphql-language-service-cli
-_npmver=3.2.23
+_npmver=3.3.33
 pkgname=graphql-lsp
 provides=('graphql-language-service-cli')
 pkgver="${_npmver}"
-pkgrel=3
+pkgrel=1
 pkgdesc="GraphQL Language Service provides an interface for building GraphQL language services for IDEs."
 arch=('any')
 url="https://www.npmjs.com/package/graphql-language-service-cli"
@@ -13,7 +13,7 @@ depends=('nodejs')
 makedepends=('npm')
 source=("${_npmname}-${_npmver}.tgz::https://registry.npmjs.org/${_npmname}/-/${_npmname}-${_npmver}.tgz")
 noextract=("${_npmname}-${_npmver}.tgz")
-sha256sums=('28a79267b8e61f7b3185fa2df0ec03e66c8c31a8d97d9624cd4fc7baed09d692')
+sha256sums=('96ee731cdf5a6f3a46264659bb69040b60d00d0c5cc9ddcdd0f5a380fd884428')

sudoforge commented on 2022-05-08 17:39 (UTC)

Flyby comment here, I'd recommend using the --production command-line flag instead of exporting NODE_ENV.

pjvds commented on 2021-11-04 21:34 (UTC) (edited on 2021-11-04 21:39 (UTC) by pjvds)

Errors should be fixed now, thanks to the great work of Hrle97!

acomagu commented on 2021-07-15 06:14 (UTC)

Not working. And seems have been outdated for months.

node:internal/modules/cjs/loader:944
  throw err;
  ^

Error: Cannot find module '../dist/cli'
Require stack:
- /usr/lib/node_modules/graphql-language-service-cli/bin/graphql.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
    at Function.Module._load (node:internal/modules/cjs/loader:774:27)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/usr/lib/node_modules/graphql-language-service-cli/bin/graphql.js:15:1)
    at Module._compile (node:internal/modules/cjs/loader:1109:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
    at Module.load (node:internal/modules/cjs/loader:989:32)
    at Function.Module._load (node:internal/modules/cjs/loader:829:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/node_modules/graphql-language-service-cli/bin/graphql.js'
  ]
}

magnetic_mosaic commented on 2021-06-18 12:52 (UTC)

This built is not working. I am getting an error "../dist/cli" not found. It works when I change the PKGBUILD package to graphql-language-service-cli instead of the one you have given.