Package Details: mongosh 2.2.1-1

Git Clone URL: https://aur.archlinux.org/mongosh.git (read-only, click to copy)
Package Base: mongosh
Description: Rich Node.js REPL for interacting with MongoDB instances.
Upstream URL: https://github.com/mongodb-js/mongosh
Licenses: Apache
Submitter: yakoyakoyokuyoku
Maintainer: yakoyakoyokuyoku
Last Packager: yakoyakoyokuyoku
Votes: 4
Popularity: 0.060145
First Submitted: 2023-03-09 13:14 (UTC)
Last Updated: 2024-03-19 18:36 (UTC)

Dependencies (7)

Required by (1)

Sources (1)

Latest Comments

yakoyakoyokuyoku commented on 2023-05-26 20:04 (UTC)

I think I have everything working as of now, I've changed to installing the package using npmjs.com's tarball instead of GitHub's and I'm not building deps from source until libmongocrypt#604 is merged.

TJM commented on 2023-03-25 11:51 (UTC)

Got an error in npm run compile-cli:

lerna ERR! npm run compile-ts exited 1 in '@mongosh/shell-api'
lerna ERR! npm run compile-ts stdout:

> @mongosh/shell-api@0.0.0-dev.0 compile-ts
> tsc -p tsconfig.json

src/helpers.ts(716,7): error TS2322: Type '{ local: { key: Buffer; }; aws?: Record<string, never> | { accessKeyId: string; secretAccessKey: string; sessionToken?: string | undefined; } | undefined; azure?: Record<string, never> | { ...; } | { ...; } | undefined; gcp?: Record<...> | ... 2 more ... | undefined; kmip?: { ...; } | undefined; }' is not assignable to type '{ aws?: { accessKeyId: string; secretAccessKey: string; sessionToken?: string | undefined; } | Record<string, never> | undefined; local?: { key: string | Buffer; } | undefined; azure?: { ...; } | ... 1 more ... | undefined; gcp?: Record<...> | ... 2 more ... | undefined; kmip?: { ...; } | undefined; }'.
  Types of property 'azure' are incompatible.
    Type 'Record<string, never> | { tenantId: string; clientId: string; clientSecret: string; identityPlatformEndpoint?: string | undefined; } | { accessToken: string; } | undefined' is not assignable to type '{ tenantId: string; clientId: string; clientSecret: string; identityPlatformEndpoint?: string | undefined; } | { accessToken: string; } | undefined'.
      Type 'Record<string, never>' is not assignable to type '{ tenantId: string; clientId: string; clientSecret: string; identityPlatformEndpoint?: string | undefined; } | { accessToken: string; } | undefined'.
        Type 'Record<string, never>' is missing the following properties from type '{ tenantId: string; clientId: string; clientSecret: string; identityPlatformEndpoint?: string | undefined; }': tenantId, clientId, clientSecret
src/helpers.ts(726,5): error TS2322: Type 'KMSProviders' is not assignable to type '{ aws?: { accessKeyId: string; secretAccessKey: string; sessionToken?: string | undefined; } | Record<string, never> | undefined; local?: { key: string | Buffer; } | undefined; azure?: { ...; } | ... 1 more ... | undefined; gcp?: Record<...> | ... 2 more ... | undefined; kmip?: { ...; } | undefined; }'.
  Types of property 'azure' are incompatible.
    Type 'Record<string, never> | { tenantId: string; clientId: string; clientSecret: string; identityPlatformEndpoint?: string | undefined; } | { accessToken: string; } | undefined' is not assignable to type '{ tenantId: string; clientId: string; clientSecret: string; identityPlatformEndpoint?: string | undefined; } | { accessToken: string; } | undefined'.
lerna ERR! npm run compile-ts stderr:
npm ERR! Lifecycle script `compile-ts` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace: @mongosh/shell-api@0.0.0-dev.0
npm ERR!   at location: /mnt/tmp/mongosh/src/mongosh-1.8.0/packages/shell-api
lerna ERR! npm run compile-ts exited 1 in '@mongosh/shell-api'

JstKddng commented on 2023-03-23 12:03 (UTC) (edited on 2023-03-23 12:04 (UTC) by JstKddng)

fails to build on my end

lerna info run Ran npm script 'compile-ts' in '@mongosh/js-multiline-to-singleline' in 8.0s:

> @mongosh/js-multiline-to-singleline@0.0.0-dev.0 compile-ts
> tsc -p tsconfig.json

lerna ERR! npm run compile-ts exited 1 in '@mongosh/service-provider-core'
lerna ERR! npm run compile-ts stdout:

> @mongosh/service-provider-core@0.0.0-dev.0 compile-ts
> tsc -p tsconfig.json

src/all-fle-types.ts(15,8): error TS2307: Cannot find module 'mongodb-client-encryption' or its corresponding type declarations.
src/all-fle-types.ts(17,33): error TS2307: Cannot find module 'mongodb-client-encryption' or its corresponding type declarations.
lerna ERR! npm run compile-ts stderr:
npm ERR! Lifecycle script `compile-ts` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace: @mongosh/service-provider-core@0.0.0-dev.0
npm ERR!   at location: /home/jk/.cache/paru/clone/mongosh/src/mongosh-1.8.0/packages/service-provider-core
lerna ERR! npm run compile-ts exited 1 in '@mongosh/service-provider-core'
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.