Giter VIP home page Giter VIP logo

para-cli's People

Contributors

albogdano avatar dependabot[bot] avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

para-cli's Issues

error occured

para-cli setup

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)

para-cli throws ERR_INVALID_PACKAGE_TARGET

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

Error when running comand "para-cli setup"

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)

Can't run para-cli

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:
image
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

Connection failed with version 1.20.4

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.

para-cli setup throws SyntaxError: Unexpected Token

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 ;)

para-cli throw exception

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.