erudika / para-cli Goto Github PK
View Code? Open in Web Editor NEWCLI tool for interacting with Para servers
Home Page: https://paraio.org
License: Apache License 2.0
CLI tool for interacting with Para servers
Home Page: https://paraio.org
License: Apache License 2.0
Para Access Key: app:para
Para Secret Key: b8db69a24a43f2ce134909f164a45263
Para Endpoint: http://localhost:8080
โ New JWT generated and saved in /root/.config/para-cli-nodejs/config.json
readline.js:1280
throw err;
^
TypeError: config.get is not a function
at listApps (file:///usr/local/lib/nodejs/node-v14.18.1-linux-x64/lib/node_modules/para-cli/index.js:430:75)
at file:///usr/local/lib/nodejs/node-v14.18.1-linux-x64/lib/node_modules/para-cli/index.js:66:6
at Interface._onLine (readline.js:432:5)
at Interface._line (readline.js:791:8)
at Interface._ttyWrite (readline.js:1136:14)
at ReadStream.onkeypress (readline.js:265:10)
at ReadStream.emit (events.js:400:28)
at emitKeys (internal/readline/utils.js:358:14)
at emitKeys.next ()
at ReadStream.onData (readline.js:1270:36)
I'm getting this error after doing sudo npm install -g para-cli
:
$ para-cli
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
Error [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "lib/index.js" defined in the package config /usr/lib/node_modules/para-cli/node_modules/para-client-js/package.json imported from /usr/lib/node_modules/para-cli/para-cli.js; targets must start with "./"
at new NodeError (node:internal/errors:371:5)
at throwInvalidPackageTarget (node:internal/modules/esm/resolve:455:9)
at resolvePackageTargetString (node:internal/modules/esm/resolve:484:5)
at resolvePackageTarget (node:internal/modules/esm/resolve:524:12)
at packageExportsResolve (node:internal/modules/esm/resolve:634:22)
at packageResolve (node:internal/modules/esm/resolve:853:14)
at moduleResolve (node:internal/modules/esm/resolve:910:18)
at defaultResolve (node:internal/modules/esm/resolve:1005:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18) {
code: 'ERR_INVALID_PACKAGE_TARGET'
}
Node.js v17.3.0
I tried to test on localhost and also on https://paraio.com
I did put access key and secret key.
Did anyone meeting the same issue or have the solution for this
para-cli setup
node:internal/readline/emitKeypressEvents:71
throw err;
^
TypeError: Cannot read property 'newJWT' of undefined
at file:///usr/local/lib/node_modules/para-cli/index.js:62:10
at Interface._onLine (node:readline:485:5)
at Interface._line (node:readline:852:8)
at Interface._ttyWrite (node:readline:1204:14)
at ReadStream.onkeypress (node:readline:288:10)
at ReadStream.emit (node:events:365:28)
at emitKeys (node:internal/readline/utils:358:14)
at emitKeys.next (<anonymous>)
at ReadStream.onData (node:internal/readline/emitKeypressEvents:61:36)
at ReadStream.emit (node:events:365:28)
Hello,
I can't get para-cli to run.
I ran npm install -g para-cli
which downloaded the files to appdata/roaming/npm
Inside this folder I tried running para-cli setup
and got the following error:
I tried to run this on webstorm and played a bit with the dependencies but still couldn't get past this error
Any help will be appreciated
I can't connect to my Para endpoint using v1.20.4 of the para-cli. I've tried against two different Para endpoints I'm running, and both are accessible from the same machine and return the "All set!" response when curl is run against /v1/_setup. Any other pointers for diagnosis? Para version on the backend is 1.48.2.
Hi,
If the ID of the registered object is all numbers, it is corrected because it exceeds "2 ^ 53 - 1" and can not be handled correctly.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
example:
ID:123456789123456789
command:$para-cli delete --id 123456789123456789
result: Deleted objects [ '123456789123456800' ] from Para.
I support you for your activities.
Best Regards.
Issue:
$ para-cli setup
file:///usr/local/lib/node_modules/para-cli/node_modules/conf/dist/source/index.js:109
if (value?.default) {
^
SyntaxError: Unexpected token '.'
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
Installed the recent version via:
npm install -g para-cli
Impact: Cannot set up para.
Host: Ubuntu 22.04 Server
npm: 8.51
para-cli: --version throws error, too ;)
Also the 400KB limit should be removed.
when executing para-cli@1.9.3 outside /usr/lib/node_modules/para-cli, it throw an exception.
/usr/lib/node_modules/para-cli/node_modules/conf/index.js:58
throw new Error('Project name could not be inferred. Please specify the `projectName` option.');
^
Error: Project name could not be inferred. Please specify the `projectName` option.
at new Conf (/usr/lib/node_modules/para-cli/node_modules/conf/index.js:58:11)
at Object.<anonymous> (/usr/lib/node_modules/para-cli/para-cli.js:88:14)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)
at internal/main/run_main_module.js:17:11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.