qryn
qryn copied to clipboard
NPM install qryn failed
# npm -v
8.15.1
# node -v
v18.7.0
install logs:
# npm install -g qryn
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Removed event-stream from gulp-header
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: no longer maintained
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
added 132 packages, changed 406 packages, and audited 1361 packages in 40s
17 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
=======================================================================
# cnpm install -g qryn
Downloading qryn to /usr/lib/node_modules/qryn_tmp
Copying /usr/lib/node_modules/qryn_tmp/[email protected]@qryn to /usr/lib/node_modules/qryn
Installing qryn's dependencies to /usr/lib/node_modules/qryn/node_modules
[1/33] ws@^8.4.0 installed at node_modules/[email protected]@ws
[2/33] @apla/clickhouse@^1.6.4 installed at node_modules/_@[email protected]@@apla/clickhouse
[3/33] snappyjs@^0.6.1 installed at node_modules/[email protected]@snappyjs
[4/33] @cloki/[email protected] installed at node_modules/_@[email protected]@@cloki/clickhouse-sql
[5/33] xxhash-wasm@^0.4.2 installed at node_modules/[email protected]@xxhash-wasm
[6/33] stream-chain@^2.2.4 installed at node_modules/[email protected]@stream-chain
[7/33] jsonic@^0.3.1 installed at node_modules/[email protected]@jsonic
[8/33] @qxip/plugnplay@^3.3.1 existed at node_modules/_@[email protected]@@qxip/plugnplay
[9/33] bnf@^1.0.1 installed at node_modules/[email protected]@bnf
[10/33] yaml@^1.10.2 installed at node_modules/[email protected]@yaml
[11/33] stream-json@^1.7.3 installed at node_modules/[email protected]@stream-json
[12/33] json-stable-stringify@^1.0.1 installed at node_modules/[email protected]@json-stable-stringify
[13/33] short-hash@^1.0.0 installed at node_modules/[email protected]@short-hash
[14/33] axios@^0.21.4 installed at node_modules/[email protected]@axios
[15/33] record-cache@^1.1.1 installed at node_modules/[email protected]@record-cache
[16/33] protocol-buffers-encodings@^1.1.1 installed at node_modules/[email protected]@protocol-buffers-encodings
[17/33] fastify-websocket@^4.0.0 installed at node_modules/[email protected]@fastify-websocket
[18/33] fastify-cors@^6.0.2 installed at node_modules/[email protected]@fastify-cors
[19/33] glob@^7.1.2 installed at node_modules/[email protected]@glob
[20/33] fastify-basic-auth@^0.4.0 installed at node_modules/[email protected]@fastify-basic-auth
[21/33] protocol-buffers@^4.2.0 installed at node_modules/[email protected]@protocol-buffers
[22/33] fastify-url-data@^2.4.0 installed at node_modules/[email protected]@fastify-url-data
[23/33] scramjet@^4.36.1 installed at node_modules/[email protected]@scramjet
[24/33] patch-package@^6.4.7 installed at node_modules/[email protected]@patch-package
[25/33] fastify-static@^4.5.0 installed at node_modules/[email protected]@fastify-static
[26/33] fastify-metrics@^8.0.0 installed at node_modules/[email protected]@fastify-metrics
[27/33] handlebars@^4.7.7 installed at node_modules/[email protected]@handlebars
[28/33] pino@^7.6.5 installed at node_modules/[email protected]@pino
[29/33] protobufjs@^6.11.2 installed at node_modules/[email protected]@protobufjs
[30/33] handlebars-helpers@^0.9.8 installed at node_modules/[email protected]@handlebars-helpers
[31/33] @qxip/plugnplay@^3.3.1 installed at node_modules/_@[email protected]@@qxip/plugnplay
[32/33] fastify@^3.25.1 installed at node_modules/[email protected]@fastify
[33/33] date-fns@^2.27.0 installed at node_modules/[email protected]@date-fns
execute post install 2 scripts...
[1/2] scripts.postinstall protobufjs@^6.11.2 run "node scripts/postinstall", root: "/usr/lib/node_modules/qryn/node_modules/[email protected]@protobufjs"
[1/2] scripts.postinstall protobufjs@^6.11.2 finished in 46ms
[2/2] scripts.postinstall [email protected] run "patch-package", root: "/usr/lib/node_modules/qryn"
patch-package 6.4.7
Applying patches...
[email protected] ✔
[2/2] scripts.postinstall [email protected] finished in 125ms
peerDependencies WARNING ws@^8.4.0 requires a peer of bufferutil@^4.0.1 but none was installed
peerDependencies WARNING ws@^8.4.0 requires a peer of utf-8-validate@^5.0.2 but none was installed
deprecate @qxip/[email protected] › require-subvert@^0.1.0 no longer maintained
deprecate [email protected] › [email protected] › [email protected] › source-map-resolve@^0.5.0 See https://github.com/lydell/source-map-resolve#deprecated
deprecate [email protected] › [email protected] › [email protected] › [email protected] › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate [email protected] › [email protected] › [email protected] › [email protected] › source-map-url@^0.4.0 See https://github.com/lydell/source-map-url#deprecated
deprecate [email protected] › [email protected] › [email protected] › [email protected] › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated
deprecate [email protected] › [email protected] › [email protected] › [email protected] › gulp-header@^1.7.1 Removed event-stream from gulp-header
All packages installed (459 packages installed from npm registry, used 16s(network 16s), speed 771.41KB/s, json 405(2.07MB), tarball 9.88MB, manifests cache hit 0, etag hit 0 / miss 0)
Error: ENOENT: no such file or directory, chmod '/usr/lib/node_modules/qryn/cloki.js'
npminstall version: 6.5.0
npminstall args: /usr/bin/node /usr/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js --fix-bug-versions --china --userconfig=/root/.cnpmrc --disturl=https://npmmirror.com/mirrors/node --registry=https://registry.npmmirror.com -g qryn
Hey @ktpktr0 thanks for the report - could you confirm if this is an issue with [email protected]
I tried 2.1.9 and 2.1.10 with NPM, but failed to install 2.1.9 with cnpm. When I use cnpm install -g [email protected] It seems to succeed.
Secondly, there are errors in the installation steps:
Install qryn and pm2 using npm
sudo npm install -g qryn pm2
Start qryn with pm2 and connect using your clickhouse-server instance details (ip/hostname and authentication)
cd $(dirname $(readlink -f `which cloki`)) \
&& CLICKHOUSE_SERVER="localhost" CLICKHOUSE_AUTH="default:password" CLICKHOUSE_DB="qryn" \
pm2 start qryn--name "qryn"
This must be Node 18 related as this is not an issue with 14.x and 16.x
This must be Node 18 related as this is not an issue with 14.x and 16.x
When I use node 16.x, only cnpm can successfully install version 2.1.10.
@ktpktr0 what is your operating system? we cannot reproduce your issue so far
rockey linux 8.6
Feel free to reopen if still interested for 3.x