Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4851

build fails with tls has no exported member

    • Type: Icon: Build Failure Build Failure
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • Not Needed

       "devDependencies":

      {     "@commitlint/cli": "^7.1.2",     "@commitlint/config-conventional": "^7.1.2",     "@types/jest": "^23.3.14",     "@types/node": "^10.11.0",     "colors": "^1.3.2",     "commitizen": "^3.0.0",     "coveralls": "^3.0.2",     "cross-env": "^5.2.0",     "cz-conventional-changelog": "^2.1.0",     "husky": "^1.0.1",     "jest": "^23.6.0",     "jest-config": "^23.6.0",     "lint-staged": "^8.0.0",     "lodash.camelcase": "^4.3.0",     "prettier": "^1.14.3",     "prompt": "^1.0.0",     "replace-in-file": "^3.4.2",     "rimraf": "^2.6.2",     "rollup": "^0.67.0",     "rollup-plugin-commonjs": "^9.1.8",     "rollup-plugin-json": "^3.1.0",     "rollup-plugin-node-resolve": "^3.4.0",     "rollup-plugin-sourcemaps": "^0.4.2",     "rollup-plugin-typescript2": "^0.18.0",     "semantic-release": "^15.9.16",     "shelljs": "^0.8.3",     "travis-deploy-once": "^5.0.9",     "ts-jest": "^23.10.2",     "ts-node": "^7.0.1",     "tslint": "^5.11.0",     "tslint-config-prettier": "^1.15.0",     "tslint-config-standard": "^8.0.1",     "typedoc": "0.23.20",     "typescript": "4.8.4"   }

      ,
        "dependencies":

      {     "@types/lodash": "^4.14.188",     "await-to-js": "^3.0.0",     "dotenv": "^16.0.3",     "mongodb": "^4.12.1"   }

      }
      node_modules/mongodb/mongodb.d.ts:33:15 - error TS2305: Module '"tls"' has no exported member 'TLSSocketOptions'.

      33 import type { TLSSocketOptions } from 'tls';
                       ~~~~~~~~~~~~~~~~

      Found 1 error in node_modules/mongodb/mongodb.d.ts:33

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            daskabe@gmail.com Dawit Askabe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: