fix: script detection issue in version 3.0.0#1748
Merged
Amzani merged 6 commits intoasyncapi:masterfrom Apr 4, 2025
Merged
Conversation
🦋 Changeset detectedLatest 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 |
AayushSaini101
previously approved these changes
Apr 2, 2025
Collaborator
|
/rtm |
Amzani
previously approved these changes
Apr 2, 2025
TRohit20
approved these changes
Apr 2, 2025
Collaborator
|
/rtm |
|
engineering-apideck
approved these changes
Apr 4, 2025
Amzani
approved these changes
Apr 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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 fundfor detailsNow autocomplete feature works perfectly.
Resolves #1747