You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm install from the cloned repo terminates with errors
sudo npm install -g @asyncapi
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "@asyncapi": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-21T11_05_40_874Z-debug-0.log
(base) frag@daedalus:~/c0ding/asyncapi/generator$ sudo npm install -g @asyncapi/ag
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@asyncapi%2fag - Not found
npm ERR! 404
npm ERR! 404 '@asyncapi/ag@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-21T11_05_56_154Z-debug-0.log
(base) frag@daedalus:~/c0ding/asyncapi/generator$ npm install
up to date, audited 1247 packages in 30s
47 packages are looking for funding
run `npm fund` for details
20 vulnerabilities (17 moderate, 2 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Hey, sorry but packages like @asyncapi and @asyncapi/ag do not exist.
You install generator with @asyncapi/generator if you want to use it as library. In case of CLI I think in docs we already suggest to perform installation of the AsyncAPI CLI, so @asyncapi/cli
sudo npm install -g @asyncapi/cli
[sudo] password for frag:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@asyncapi/[email protected]',
npm WARN EBADENGINE required: { node: '>=14' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@oclif/[email protected]',
npm WARN EBADENGINE required: { node: '>=14.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>= 14' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [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.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
changed 923 packages, and audited 924 packages in 31s
89 packages are looking for funding
run `npm fund` for details
8 moderate severity vulnerabilities
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
and then run
$ asyncapi
/usr/local/lib/node_modules/@asyncapi/cli/node_modules/@oclif/core/lib/command.js:41
delete this.globalFlags?.json;
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/usr/local/lib/node_modules/@asyncapi/cli/node_modules/@oclif/core/lib/index.js:6:19)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
I'm Genie from the magic lamp. Looks like somebody needs a hand! 🆘
At the moment the following comments are supported in issues:
/good-first-issue {js | ts | java | go | docs | design | ci-cd} or /gfi {js | ts | java | go | docs | design | ci-cd} - label an issue as a good first issue.
example: /gfi js or /good-first-issue ci-cd
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Activity
github-actions commentedon Dec 21, 2022
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
derberg commentedon Dec 21, 2022
Hey, sorry but packages like
@asyncapiand@asyncapi/agdo not exist.You install generator with
@asyncapi/generatorif you want to use it as library. In case of CLI I think in docs we already suggest to perform installation of the AsyncAPI CLI, so@asyncapi/clifgadaleta commentedon Dec 21, 2022
even that fails
I install with
and then run
asyncapi-bot commentedon Dec 21, 2022
Hello, @fgadaleta! 👋🏼
I'm Genie from the magic lamp. Looks like somebody needs a hand! 🆘
At the moment the following comments are supported in issues:
/good-first-issue {js | ts | java | go | docs | design | ci-cd}or/gfi {js | ts | java | go | docs | design | ci-cd}- label an issue as agood first issue.example:
/gfi jsor/good-first-issue ci-cdderberg commentedon Dec 21, 2022
these are weird 🤔
do you normally use Node and npm or just for the CLI? maybe just go ahead and try different installation options https://github.com/asyncapi/cli#installation. We provide binaries that do not require node and npm.
fgadaleta commentedon Dec 22, 2022
I tried other methods too.
Debian package seems corrupt and tar.gz too
Maybe links are broken?
Can you check?
derberg commentedon Jan 11, 2023
Sorry, I was out for some time.
Damn, you are right, the links there are broken. Looks like we do not publish these packs for releases anymore. It is all red https://github.com/asyncapi/cli/actions/workflows/upload-release-assets.yml and so far I have no idea why. Will have to investigate, sorry about that
github-actions commentedon Jan 12, 2023
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
derberg commentedon Jan 12, 2023
Moved it to CLI repo as we anyway will deprecate Generator CLI.
More critical is to fix installation for CLI.
I just do not know what the solution is so far.
asyncapi-bot commentedon Apr 12, 2023
🎉 This issue has been resolved in version 0.37.2 🎉
The release is available on:
Your semantic-release bot 📦🚀