C2FO / fast-csv

CSV parser and formatter for node
http://c2fo.github.io/fast-csv
MIT License
1.66k stars 214 forks source link

Uncaught TypeError: Class extends value undefined is not a constructor or null in CsvParseStream.ts line 8 #771

Open AlokikPathak opened 2 years ago

AlokikPathak commented 2 years ago

Package.json, stream: 0.0.2, "@types/node": "16.9.2"

{ "dependencies": { "@angular-devkit/core": "12.2.3", "@angular-devkit/schematics": "12.2.3", "@angular-devkit/schematics-cli": "12.2.3", "@angular/animations": "12.2.3", "@angular/cdk": "12.2.3", "@angular/cdk-experimental": "12.2.3", "@angular/common": "12.2.3", "@angular/compiler": "12.2.3", "@angular/core": "12.2.3", "@angular/flex-layout": "12.0.0-beta.34", "@angular/forms": "12.2.3", "@angular/material": "12.2.3", "@angular/material-moment-adapter": "12.2.3", "@angular/platform-browser": "12.2.3", "@angular/platform-browser-dynamic": "12.2.3", "@angular/platform-server": "12.2.3", "@angular/router": "12.2.3", "@angular/service-worker": "12.2.3", "@aws-amplify/auth": "2.1.8", "@aws-amplify/core": "2.3.0", "@aws-sdk/client-codeartifact": "3.24.0", "@bazel/buildozer": "3.4.0", "@biesbjerg/ngx-translate-extract": "7.0.4", "@cds/core": "5.0.0", "@clr/angular": "12.0.1", "@clr/icons": "3.1.5", "@clr/ui": "12.0.1", "@commitlint/config-conventional": "8.3.4", "@covalent/highlight": "3.0.0", "@ctrl/ngx-rightclick": "3.0.1", "@date-io/moment": "2.11.0", "@egjs/hammerjs": "2.0.17", "@elastic/elasticsearch": "7.7.1", "@emotion/react": "11.4.1", "@emotion/styled": "11.3.0", "@fast-csv/parse": "4.3.6", "@fortawesome/angular-fontawesome": "0.6.1", "@fortawesome/fontawesome-free": "5.13.0", "@fortawesome/fontawesome-svg-core": "1.2.28", "@fortawesome/free-solid-svg-icons": "5.13.0", "@monaco-editor/react": "3.7.5", "@mui/icons-material": "5.0.0", "@mui/lab": "5.0.0-alpha.47", "@mui/material": "5.0.0", "@nestjs/common": "7.3.2", "@nestjs/core": "7.3.2", "@nestjs/graphql": "7.5.3", "@nestjs/jwt": "7.1.0", "@nestjs/passport": "7.1.0", "@nestjs/platform-express": "7.3.2", "@nestjs/schedule": "0.4.1", "@nestjs/serve-static": "2.1.3", "@nestjs/swagger": "4.6.1", "@ngneat/until-destroy": "8.1.1", "@ngrx/component": "12.4.0", "@ngrx/effects": "12.4.0", "@ngrx/entity": "12.4.0", "@ngrx/router-store": "12.4.0", "@ngrx/store": "12.4.0", "@ngrx/store-devtools": "12.4.0", "@ngx-formly/core": "5.10.20", "@ngx-formly/material": "5.10.20", "@ngx-translate/core": "13.0.0", "@ngx-translate/http-loader": "6.0.0", "@phenomnomnominal/tsquery": "4.1.0", "@swimlane/ngx-charts": "13.0.2", "@swimlane/ngx-datatable": "16.0.3", "@types/ajv": "1.0.0", "@types/body-parser": "1.19.0", "@types/convict": "5.2.1", "@types/js-yaml": "3.12.6", "@types/selenium-webdriver": "3.0.15", "@types/sharp": "0.27.0", "@webcomponents/custom-elements": "1.4.2", "@xstate/graph": "1.0.0", "a-star": "0.2.0", "ajv": "8.9.0", "ajv-formats": "2.1.1", "amazon-cognito-identity-js": "3.3.3", "amazon-kinesis-video-streams-webrtc": "1.0.8", "angular-pipes": "10.0.0", "ansi-escape-sequences": "5.1.2", "apollo-angular": "1.10.0", "apollo-angular-link-http": "1.11.0", "apollo-cache": "1.3.5", "apollo-cache-inmemory": "1.6.6", "apollo-client": "2.6.10", "apollo-link": "1.2.14", "apollo-link-ws": "1.0.20", "apollo-server-core": "2.15.1", "apollo-server-express": "2.15.1", "apollo-utilities": "1.3.4", "async-mutex": "0.2.4", "async-polling": "0.2.1", "aws-amplify": "2.2.2", "aws-sdk": "2.654.0", "basic-ftp": "4.6.6", "body-parser": "1.19.0", "browser-headers": "0.4.1", "builtins": "3.0.1", "cache-manager": "3.3.0", "chalk": "2.4.1", "chevrotain": "7.0.3", "class-transformer": "0.2.3", "class-validator": "0.12.2", "compressorjs": "1.0.7", "config": "3.2.4", "consul": "0.36.0", "convict": "6.1.0", "core-js": "3.15.2", "cron": "1.8.2", "crypto-js": "4.1.1", "csinterface-ts": "1.0.3", "dayjs": "1.10.6", "del": "5.1.0", "detect-browser": "5.2.0", "domino": "2.1.6", "dotenv": "6.1.0", "emitter-component": "^1.1.1", "enquirer": "2.3.6", "express": "4.17.1", "famfamfam-flags": "1.0.0", "ffprobe-client": "1.1.6", "file-saver": "2.0.2", "find-up": "2.1.0", "font-awesome": "4.7.0", "fs-extra": "8.1.0", "git-user-name": "2.0.0", "gitlog": "4.0.0", "gm": "1.23.1", "gonzales-pe": "4.3.0", "graphql": "14.6.0", "graphql-subscriptions": "1.1.0", "graphql-tag": "2.10.3", "graphql-tools": "4.0.7", "highlight.js": "9.18.1", "html2canvas": "1.0.0-rc.5", "http-proxy": "1.17.0", "husky": "4.2.5", "i18next": "8.2.1", "inquirer": "7.0.4", "jasmine-marbles": "0.8.4", "jira-client": "6.18.0", "joi": "17.3.0", "jquery": "2.2.4", "js-yaml": "3.13.1", "jspdf": "1.5.3", "jspdf-autotable": "3.2.11", "jwt-decode": "3.1.2", "lodash": "4.17.15", "lodash.kebabcase": "4.1.1", "logform": "2.3.0", "mariadb": "2.2.0", "material-design-icons-iconfont": "6.1.0", "minimatch": "3.0.4", "minimist": "1.2.5", "mkdirp": "1.0.3", "mnemonist": "0.38.3", "mobx": "6.3.3", "mobx-react-lite": "3.2.1", "mocha": "8.3.2", "mochawesome": "6.2.2", "mochawesome-merge": "4.2.0", "mochawesome-report-generator": "5.2.0", "moment": "2.29.1", "moment-timezone": "0.5.34", "monaco-editor": "0.20.0", "mousetrap": "1.6.3", "nanoid": "3.1.20", "nest-winston": "1.6.1", "ngrx-store-localstorage": "12.0.1", "ngx-cookie-service": "2.2.0", "ngx-monaco-editor": "9.0.0", "ngx-post-message": "1.5.3", "ngx-toastr": "11.3.3", "ngx-webstorage-service": "4.1.0", "node-fetch": "2.6.1", "node-persist": "3.0.5", "normalize-path": "3.0.0", "normalize-url": "3.3.0", "openurl": "1.1.1", "p-queue": "6.6.2", "pako": "1.0.3", "passport": "0.4.1", "passport-jwt": "4.0.0", "passport-local": "1.0.0", "path": "0.12.7", "pretty-data": "0.40.0", "react": "17.0.2", "react-dom": "17.0.2", "react-moment": "1.1.1", "react-router": "5.2.1", "react-router-dom": "5.3.0", "react-scrollbars-custom": "4.0.27", "readable-stream": "^3.6.0", "recursive-readdir-sync": "1.0.6", "redux": "4.0.1", "redux-devtools-extension": "2.13.8", "redux-logger": "3.0.6", "redux-thunk": "2.3.0", "reflect-metadata": "0.1.13", "remark": "9.0.0", "request": "2.83.0", "requirejs": "2.3.6", "rxjs": "6.6.3", "s3-ls": "3.0.0", "screenfull": "3.3.3", "seedrandom": "3.0.3", "semver": "7.3.5", "shaka-player": "2.5.9", "sharp": "0.26.2", "shelljs": "0.8.4", "signale": "1.4.0", "simple-keyboard": "2.27.11", "soap": "0.31.0", "sortablejs": "1.6.0", "source-map-support": "0.5.19", "sprintf-js": "1.0.3", "ssh2-sftp-client": "6.0.1", "stream": "0.0.2", "structured-source": "3.0.2", "subscriptions-transport-ws": "0.9.16", "swagger-ui-express": "4.1.4", "systemjs": "6.10.2", "tsconfig-paths": "3.9.0", "tslib": "2.3.1", "type-graphql": "0.17.6", "util": "0.11.1", "uuid": "8.3.1", "vis": "4.21.0", "vis-data": "7.1.2", "vis-network": "9.1.0", "vis-timeline": "7.4.3", "vis-util": "5.0.2", "vtt.js": "0.13.0", "waveform-data": "2.1.2", "winston": "3.3.3", "winston-daily-rotate-file": "4.5.5", "winston-transport": "4.4.0", "ws": "6.1.0", "xml": "1.0.1", "xml2js": "0.4.23", "xstate": "4.11.0", "yargs": "15.4.1", "yargs-interactive": "3.0.0", "zone.js": "0.11.4", "zxcvbn": "4.4.2" }, "devDependencies": { "@angular-devkit/build-angular": "12.2.3", "@angular-devkit/build-optimizer": "0.1202.3", "@angular-eslint/builder": "12.3.1", "@angular-eslint/eslint-plugin": "12.3.1", "@angular-eslint/eslint-plugin-template": "12.3.1", "@angular-eslint/schematics": "12.3.1", "@angular-eslint/template-parser": "12.3.1", "@angular-redux/store": "10.0.0", "@angular/bazel": "12.2.3", "@angular/cli": "12.2.3", "@angular/compiler-cli": "12.2.3", "@angular/language-service": "12.2.3", "@babel/cli": "7.14.3", "@babel/core": "7.14.3", "@babel/preset-env": "7.14.4", "@bazel/concatjs": "3.3.0", "@bazel/cypress": "3.3.0", "@bazel/ibazel": "0.14.0", "@bazel/jasmine": "3.3.0", "@bazel/protractor": "3.3.0", "@bazel/rollup": "3.3.0", "@bazel/terser": "3.3.0", "@bazel/typescript": "3.3.0", "@cypress/browserify-preprocessor": "3.0.1", "@jest/core": "24.7.1", "@nestjs/testing": "7.3.2", "@ngrx/schematics": "12.4.0", "@stoplight/spectral-cli": "6.1.1", "@testing-library/dom": "7.21.4", "@testing-library/jest-dom": "5.11.5", "@testing-library/react": "11.1.2", "@testing-library/user-event": "12.2.2", "@trivago/prettier-plugin-sort-imports": "2.0.2", "@types/aws-lambda": "8.10.13", "@types/browser-sync": "2.26.1", "@types/config": "0.0.36", "@types/consul": "0.23.34", "@types/convict": "5.2.1", "@types/cron": "1.7.2", "@types/express": "4.17.13", "@types/file-saver": "2.0.1", "@types/fs-extra": "8.1.0", "@types/graphql": "14.5.0", "@types/http-proxy-middleware": "0.19.1", "@types/jasmine": "3.5.12", "@types/jasminewd2": "2.0.8", "@types/jest": "26.0.18", "@types/jira-client": "6.13.1", "@types/joi": "14.3.4", "@types/lodash": "4.14.157", "@types/minimatch": "3.0.3", "@types/minimist": "1.2.0", "@types/mock-fs": "4.10.0", "@types/moment-timezone": "0.5.30", "@types/mousetrap": "1.6.3", "@types/nanoid": "2.1.0", "@types/node": "16.9.2", "@types/node-fetch": "2.5.12", "@types/node-persist": "3.0.0", "@types/openurl": "1.0.0", "@types/pako": "1.0.2", "@types/passport-jwt": "3.0.3", "@types/passport-local": "1.0.33", "@types/react": "17.0.21", "@types/react-dom": "17.0.9", "@types/react-router-dom": "5.1.9", "@types/reflect-metadata": "0.1.0", "@types/request": "2.48.5", "@types/semver": "7.3.8", "@types/send": "0.14.5", "@types/shelljs": "0.8.8", "@types/vis": "4.21.21", "@types/wicg-mediasession": "1.1.3", "@types/ws": "7.4.0", "@types/xml": "1.0.4", "@types/xml2js": "0.4.7", "@types/yargs": "16.0.3", "@types/yargs-interactive": "2.1.0", "@types/zxcvbn": "4.4.0", "@typescript-eslint/eslint-plugin": "4.30.0", "@typescript-eslint/parser": "4.30.0", "ajv-cli": "5.0.0", "amd-loader": "0.0.8", "aws-sdk-mock": "5.1.0", "browser-sync": "2.26.13", "cypress": "7.0.1", "cypress-multi-reporters": "1.5.0", "eslint": "7.32.0", "eslint-config-react-app": "6.0.0", "eslint-plugin-import": "2.24.2", "eslint-plugin-jasmine": "4.1.2", "eslint-plugin-jsdoc": "36.0.8", "eslint-plugin-prefer-arrow": "1.2.3", "history-server": "1.3.1", "html-dnd": "1.2.1", "html-insert-assets": "0.10.0", "http-proxy-middleware": "0.19.1", "jasmine": "3.6.1", "jasmine-core": "3.5.0", "jasmine-reporters": "2.4.0", "jasmine-spec-reporter": "4.2.1", "jest-canvas-mock": "2.3.1", "jest-cli": "24.9.0", "jest-preset-angular": "8.3.2", "jrgen": "3.1.1", "karma": "6.3.4", "karma-chrome-launcher": "3.1.0", "karma-firefox-launcher": "1.2.0", "karma-jasmine": "2.0.1", "karma-jasmine-html-reporter": "1.7.0", "karma-requirejs": "1.1.0", "karma-sourcemap-loader": "0.3.7", "karma-summary-reporter": "3.0.0", "mock-fs": "4.12.0", "ngx-translate-testing": "5.2.0", "patch-package": "6.2.2", "prettier": "2.3.2", "prop-types": "15.7.2", "protractor": "7.0.0", "protractor-jasmine2-screenshot-reporter": "0.5.0", "react-scripts": "4.0.3", "redoc-cli": "0.10.4", "rollup": "1.32.1", "rollup-plugin-commonjs": "10.1.0", "rollup-plugin-ignore": "1.0.5", "rollup-plugin-json": "4.0.0", "rollup-plugin-node-resolve": "5.2.0", "rollup-plugin-sourcemaps": "0.4.2", "rollup-plugin-terser": "5.1.2", "s3-client": "4.4.2", "send": "0.17.1", "style-loader": "1.1.3", "supertest": "4.0.2", "terser": "4.8.0", "ts-loader": "6.2.2", "ts-node": "8.10.2", "tsconfig-paths": "3.9.0", "typescript": "4.3.5", "unidiff": "1.0.2", "webpack": "4.44.2", "webpack-cli": "3.3.12", "webpack-dev-server": "3.11.1" }, "browser": { "fs": false } }

heivo commented 1 year ago

@AlokikPathak did you solve this issue? Getting the same error after switching from Webpack to Vite