Skip to content

fix: script detection issue in version 3.0.0#1748

Merged
Amzani merged 6 commits intoasyncapi:masterfrom
PriyamvadaShah:original-code
Apr 4, 2025
Merged

fix: script detection issue in version 3.0.0#1748
Amzani merged 6 commits intoasyncapi:masterfrom
PriyamvadaShah:original-code

Conversation

@PriyamvadaShah
Copy link
Copy Markdown
Contributor

There was problem in installation of the latest Asyncapi CLI (3.0.0) due to a not being able to find scripts folder.

Changed package.json to include the directory.

Tested by generating a tarball and installing it. No errors faced now:

npm install D:\cli2\cli\asyncapi-cli-3.0.0.tgz
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-core@1.19.5',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-functions@1.9.4',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-parsers@1.0.5',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-ref-resolver@1.0.5',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-formatters@1.4.3',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-ruleset-bundler@1.6.2',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-ruleset-migrator@1.11.2',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-rulesets@1.21.4',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-runtime@1.1.4',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stoplight/spectral-formats@1.8.2',
npm warn EBADENGINE required: { node: '^16.20 || ^18.18 || >= 20.17' },
npm warn EBADENGINE current: { node: 'v20.14.0', npm: '10.8.1' }
npm warn EBADENGINE }
npm warn deprecated debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs
npm warn deprecated read-package-json@5.0.2: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated domexception@2.0.1: Use your platform's native DOMException instead
npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm warn deprecated rimraf@2.2.8: Rimraf versions prior to v4 are no longer supported
npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated @asyncapi/generator-hooks@0.1.0: Hooks are now part of generator repository and also out of the box integrated with the generator, so no need to set it as dependency any more: https://github.com/asyncapi/generator/releases/tag/%40asyncapi%2Fgenerator%402.5.0
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated mkdirp@0.3.5: 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 @oclif/errors@1.3.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated fstream@1.0.12: This package is no longer supported.
npm warn deprecated @hyperjump/json-schema-core@0.28.5: This package was rolled into @hyperjump/json-schema as of v1.0.0

added 1494 packages in 3m

193 packages are looking for funding
run npm fund for details

Now autocomplete feature works perfectly.

Resolves #1747

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 1, 2025

🦋 Changeset detected

Latest commit: e3e88cd

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@PriyamvadaShah PriyamvadaShah changed the title Fixing script detection issue in version 3.0.0 fix: Fixing script detection issue in version 3.0.0 Apr 1, 2025
@PriyamvadaShah PriyamvadaShah changed the title fix: Fixing script detection issue in version 3.0.0 fix: fixing script detection issue in version 3.0.0 Apr 1, 2025
@PriyamvadaShah PriyamvadaShah changed the title fix: fixing script detection issue in version 3.0.0 fix: script detection issue in version 3.0.0 Apr 1, 2025
AayushSaini101
AayushSaini101 previously approved these changes Apr 2, 2025
@github-project-automation github-project-automation Bot moved this from To Triage to Backlog in CLI - Kanban Apr 2, 2025
@AayushSaini101
Copy link
Copy Markdown
Collaborator

/rtm

Amzani
Amzani previously approved these changes Apr 2, 2025
@AayushSaini101
Copy link
Copy Markdown
Collaborator

/rtm

@AayushSaini101 AayushSaini101 dismissed stale reviews from Amzani and themself via 9dc146b April 3, 2025 07:36
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 3, 2025

@Amzani Amzani merged commit 1b62a66 into asyncapi:master Apr 4, 2025
19 of 22 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in CLI - Kanban Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] Latest version 3.0.0 version is failing

6 participants