Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command npx dts-cli create mylib fails because of Rollup module incompatibility with tsconfig.json #79

Closed
velut opened this issue Oct 23, 2021 · 2 comments

Comments

@velut
Copy link

velut commented Oct 23, 2021

Current Behavior

Running the npx dts-cli create mylib command to create a new library fails because tsconfig.json contains module options incompatible with Rollup.

npx dts-cli create mylib
  ____    _____   ____  
 |  _ \  |_   _| / ___| 
 | | | |   | |   \___ \ 
 | |_| |   | |    ___) |
 |____/    |_|   |____/ 
                        
✔ Choose a template · basic
✔ Created mylib
✖ Failed to install dependencies
Error: Command failed with exit code 1: yarn add @size-limit/preset-small-lib @tsconfig/recommended dts-cli husky size-limit tslib typescript --dev
warning dts-cli > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
Error: Incompatible tsconfig option. Module resolves to 'CommonJS'. This is incompatible with rollup, please use 'module: "ES2015"' or 'module: "ESNext"'.

    at checkTsConfig (/home/user/example/mylib/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:25125:15)
    at parseTsConfig (/home/user/example/mylib/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:25156:5)
    at Object.options (/home/user/example/mylib/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:30033:73)
    at /home/user/example/mylib/node_modules/rollup/dist/shared/rollup.js:23384:43
    at async /home/user/example/mylib/node_modules/rollup/dist/shared/rollup.js:23384:99
    at async getInputOptions (/home/user/example/mylib/node_modules/rollup/dist/shared/rollup.js:23377:61)
    at async rollupInternal (/home/user/example/mylib/node_modules/rollup/dist/shared/rollup.js:23324:72)
    at async /home/user/example/mylib/node_modules/dts-cli/dist/index.js:300:26
    at async Promise.all (index 2)

error Command failed with exit code 1.
yarn add v1.22.15
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
success Saved lockfile.
success Saved 564 new dependencies.
info Direct dependencies
├─ @size-limit/preset-small-lib@6.0.3
├─ @tsconfig/recommended@1.0.1
├─ dts-cli@0.19.3
├─ husky@7.0.4
├─ size-limit@6.0.3
├─ tslib@2.3.1
└─ typescript@4.4.4
info All dependencies
├─ @babel/code-frame@7.15.8
├─ @babel/compat-data@7.15.0
├─ @babel/core@7.15.8
├─ @babel/generator@7.15.8
├─ @babel/helper-annotate-as-pure@7.15.4
├─ @babel/helper-builder-binary-assignment-operator-visitor@7.15.4
├─ @babel/helper-compilation-targets@7.15.4
├─ @babel/helper-explode-assignable-expression@7.15.4
├─ @babel/helper-get-function-arity@7.15.4
├─ @babel/helper-module-imports@7.15.4
├─ @babel/helper-remap-async-to-generator@7.15.4
├─ @babel/helper-replace-supers@7.15.4
├─ @babel/helper-validator-identifier@7.15.7
├─ @babel/helper-wrap-function@7.15.4
├─ @babel/helpers@7.15.4
├─ @babel/highlight@7.14.5
├─ @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.15.4
├─ @babel/plugin-proposal-async-generator-functions@7.15.8
├─ @babel/plugin-proposal-class-static-block@7.15.4
├─ @babel/plugin-proposal-dynamic-import@7.14.5
├─ @babel/plugin-proposal-export-namespace-from@7.14.5
├─ @babel/plugin-proposal-json-strings@7.14.5
├─ @babel/plugin-proposal-logical-assignment-operators@7.14.5
├─ @babel/plugin-proposal-nullish-coalescing-operator@7.14.5
├─ @babel/plugin-proposal-numeric-separator@7.14.5
├─ @babel/plugin-proposal-object-rest-spread@7.15.6
├─ @babel/plugin-proposal-optional-catch-binding@7.14.5
├─ @babel/plugin-proposal-private-methods@7.14.5
├─ @babel/plugin-proposal-private-property-in-object@7.15.4
├─ @babel/plugin-proposal-unicode-property-regex@7.14.5
├─ @babel/plugin-syntax-bigint@7.8.3
├─ @babel/plugin-syntax-class-properties@7.12.13
├─ @babel/plugin-syntax-import-meta@7.10.4
├─ @babel/plugin-syntax-logical-assignment-operators@7.10.4
├─ @babel/plugin-syntax-numeric-separator@7.10.4
├─ @babel/plugin-syntax-top-level-await@7.14.5
├─ @babel/plugin-syntax-typescript@7.14.5
├─ @babel/plugin-transform-arrow-functions@7.14.5
├─ @babel/plugin-transform-async-to-generator@7.14.5
├─ @babel/plugin-transform-block-scoped-functions@7.14.5
├─ @babel/plugin-transform-block-scoping@7.15.3
├─ @babel/plugin-transform-classes@7.15.4
├─ @babel/plugin-transform-computed-properties@7.14.5
├─ @babel/plugin-transform-destructuring@7.14.7
├─ @babel/plugin-transform-dotall-regex@7.14.5
├─ @babel/plugin-transform-duplicate-keys@7.14.5
├─ @babel/plugin-transform-exponentiation-operator@7.14.5
├─ @babel/plugin-transform-for-of@7.15.4
├─ @babel/plugin-transform-function-name@7.14.5
├─ @babel/plugin-transform-literals@7.14.5
├─ @babel/plugin-transform-member-expression-literals@7.14.5
├─ @babel/plugin-transform-modules-amd@7.14.5
├─ @babel/plugin-transform-modules-commonjs@7.15.4
├─ @babel/plugin-transform-modules-systemjs@7.15.4
├─ @babel/plugin-transform-modules-umd@7.14.5
├─ @babel/plugin-transform-named-capturing-groups-regex@7.14.9
├─ @babel/plugin-transform-new-target@7.14.5
├─ @babel/plugin-transform-object-super@7.14.5
├─ @babel/plugin-transform-property-literals@7.14.5
├─ @babel/plugin-transform-regenerator@7.14.5
├─ @babel/plugin-transform-reserved-words@7.14.5
├─ @babel/plugin-transform-shorthand-properties@7.14.5
├─ @babel/plugin-transform-spread@7.15.8
├─ @babel/plugin-transform-sticky-regex@7.14.5
├─ @babel/plugin-transform-template-literals@7.14.5
├─ @babel/plugin-transform-typeof-symbol@7.14.5
├─ @babel/plugin-transform-unicode-escapes@7.14.5
├─ @babel/plugin-transform-unicode-regex@7.14.5
├─ @babel/preset-env@7.15.8
├─ @babel/preset-modules@0.1.5
├─ @babel/runtime-corejs3@7.15.4
├─ @babel/runtime@7.15.4
├─ @babel/traverse@7.15.4
├─ @bcoe/v8-coverage@0.2.3
├─ @eslint/eslintrc@0.4.3
├─ @humanwhocodes/config-array@0.5.0
├─ @humanwhocodes/object-schema@1.2.0
├─ @istanbuljs/load-nyc-config@1.1.0
├─ @jest/globals@27.3.1
├─ @jest/reporters@27.3.1
├─ @jest/test-sequencer@27.3.1
├─ @nodelib/fs.scandir@2.1.5
├─ @nodelib/fs.stat@2.0.5
├─ @nodelib/fs.walk@1.2.8
├─ @rollup/plugin-babel@5.3.0
├─ @rollup/plugin-commonjs@20.0.0
├─ @rollup/plugin-json@4.1.0
├─ @rollup/plugin-node-resolve@13.0.6
├─ @rollup/plugin-replace@3.0.0
├─ @rollup/pluginutils@3.1.0
├─ @sinonjs/commons@1.8.3
├─ @sinonjs/fake-timers@8.0.1
├─ @size-limit/file@6.0.3
├─ @size-limit/preset-small-lib@6.0.3
├─ @size-limit/webpack@6.0.3
├─ @statoscope/report-writer@5.14.1
├─ @statoscope/stats-extension-stats-validation-result@5.14.1
├─ @statoscope/webpack-plugin@5.14.1
├─ @statoscope/webpack-stats-extension-compressed@5.14.1
├─ @statoscope/webpack-stats-extension-package-info@5.14.1
├─ @statoscope/webpack-ui@5.14.1
├─ @tootallnate/once@1.1.2
├─ @trysound/sax@0.2.0
├─ @tsconfig/recommended@1.0.1
├─ @types/archy@0.0.32
├─ @types/babel__core@7.1.16
├─ @types/babel__generator@7.6.3
├─ @types/babel__template@7.4.1
├─ @types/babel__traverse@7.14.2
├─ @types/eslint-scope@3.7.1
├─ @types/eslint@7.28.2
├─ @types/graceful-fs@4.1.5
├─ @types/istanbul-lib-coverage@2.0.3
├─ @types/istanbul-lib-report@3.0.0
├─ @types/istanbul-reports@3.0.1
├─ @types/jest@27.0.2
├─ @types/json-schema@7.0.9
├─ @types/json5@0.0.29
├─ @types/md5@2.3.1
├─ @types/parse-json@4.0.0
├─ @types/prettier@2.4.1
├─ @types/resolve@1.17.1
├─ @types/semver@7.3.9
├─ @types/stack-utils@2.0.1
├─ @types/yargs-parser@20.2.1
├─ @typescript-eslint/eslint-plugin@4.33.0
├─ @typescript-eslint/experimental-utils@4.33.0
├─ @typescript-eslint/parser@4.33.0
├─ @webassemblyjs/floating-point-hex-parser@1.11.1
├─ @webassemblyjs/helper-numbers@1.11.1
├─ @webassemblyjs/helper-wasm-section@1.11.1
├─ @webassemblyjs/wasm-edit@1.11.1
├─ @webassemblyjs/wasm-opt@1.11.1
├─ @webassemblyjs/wast-printer@1.11.1
├─ @xtuc/ieee754@1.2.0
├─ abab@2.0.5
├─ acorn-globals@6.0.0
├─ acorn-jsx@5.3.2
├─ acorn-walk@7.2.0
├─ acorn@7.4.1
├─ ajv-keywords@3.5.2
├─ ajv@6.12.6
├─ ansi-colors@4.1.1
├─ anymatch@3.1.2
├─ archy@1.0.0
├─ argparse@1.0.10
├─ aria-query@4.2.2
├─ array-union@2.1.0
├─ array.prototype.flat@1.2.5
├─ array.prototype.flatmap@1.2.5
├─ ast-types-flow@0.0.7
├─ astral-regex@2.0.0
├─ asynckit@0.4.0
├─ asyncro@3.0.0
├─ atob@2.1.2
├─ axe-core@4.3.3
├─ axobject-query@2.2.0
├─ babel-eslint@10.1.0
├─ babel-jest@27.3.1
├─ babel-plugin-annotate-pure-calls@0.4.0
├─ babel-plugin-dev-expression@0.2.2
├─ babel-plugin-jest-hoist@27.2.0
├─ babel-plugin-macros@3.1.0
├─ babel-plugin-polyfill-corejs2@0.2.2
├─ babel-plugin-polyfill-corejs3@0.2.5
├─ babel-plugin-transform-rename-import@2.3.0
├─ babel-preset-jest@27.2.0
├─ balanced-match@1.0.2
├─ base64-js@1.5.1
├─ binary-extensions@2.2.0
├─ bl@4.1.0
├─ brace-expansion@1.1.11
├─ braces@3.0.2
├─ browser-process-hrtime@1.0.0
├─ browserslist@4.17.4
├─ bs-logger@0.2.6
├─ bser@2.1.1
├─ buffer-from@1.1.2
├─ buffer@5.7.1
├─ builtin-modules@3.2.0
├─ bytes-iec@3.1.1
├─ caniuse-lite@1.0.30001271
├─ char-regex@1.0.2
├─ charenc@0.0.2
├─ chokidar@3.5.2
├─ chrome-trace-event@1.0.3
├─ ci-job-number@1.2.2
├─ cjs-module-lexer@1.2.2
├─ cli-cursor@3.1.0
├─ cli-spinners@1.3.1
├─ cliui@7.0.4
├─ clone@1.0.4
├─ color-convert@2.0.1
├─ color-name@1.1.4
├─ colord@2.9.1
├─ combined-stream@1.0.8
├─ commander@2.20.3
├─ concat-map@0.0.1
├─ confusing-browser-globals@1.0.10
├─ convert-source-map@1.8.0
├─ core-js-compat@3.18.3
├─ core-js-pure@3.18.3
├─ cosmiconfig@7.0.1
├─ cross-spawn@7.0.3
├─ crypt@0.0.2
├─ css-color-names@1.0.1
├─ css-declaration-sorter@6.1.3
├─ css-loader@6.4.0
├─ css-minimizer-webpack-plugin@3.1.1
├─ css-select@4.1.3
├─ css-tree@1.1.3
├─ css-what@5.1.0
├─ cssesc@3.0.0
├─ cssnano-preset-default@5.1.4
├─ cssnano@5.0.8
├─ csso@4.2.0
├─ cssom@0.4.4
├─ cssstyle@2.3.0
├─ damerau-levenshtein@1.0.7
├─ data-urls@2.0.0
├─ decimal.js@10.3.1
├─ decode-uri-component@0.2.0
├─ dedent@0.7.0
├─ deep-is@0.1.4
├─ defaults@1.0.3
├─ define-lazy-prop@2.0.0
├─ delayed-stream@1.0.0
├─ detect-newline@3.1.0
├─ diff-sequences@27.0.6
├─ dir-glob@3.0.1
├─ dom-serializer@1.3.2
├─ domelementtype@2.2.0
├─ domexception@2.0.1
├─ domutils@2.8.0
├─ dts-cli@0.19.3
├─ duplexer@0.1.2
├─ electron-to-chromium@1.3.878
├─ emoji-regex@8.0.0
├─ end-of-stream@1.4.4
├─ enhanced-resolve@5.8.3
├─ enquirer@2.3.6
├─ entities@2.2.0
├─ error-ex@1.3.2
├─ es-module-lexer@0.9.3
├─ es-to-primitive@1.2.1
├─ escodegen@2.0.0
├─ eslint-config-prettier@8.3.0
├─ eslint-config-react-app@6.0.0
├─ eslint-import-resolver-node@0.3.6
├─ eslint-module-utils@2.7.1
├─ eslint-plugin-flowtype@5.10.0
├─ eslint-plugin-import@2.25.2
├─ eslint-plugin-jsx-a11y@6.4.1
├─ eslint-plugin-prettier@4.0.0
├─ eslint-plugin-react-hooks@4.2.0
├─ eslint-plugin-react@7.26.1
├─ eslint-utils@2.1.0
├─ eslint-visitor-keys@1.3.0
├─ eslint@7.32.0
├─ espree@7.3.1
├─ esprima@4.0.1
├─ esquery@1.4.0
├─ esrecurse@4.3.0
├─ events@3.3.0
├─ fast-deep-equal@3.1.3
├─ fast-diff@1.2.0
├─ fast-glob@3.2.7
├─ fast-levenshtein@2.0.6
├─ fastq@1.13.0
├─ fb-watchman@2.0.1
├─ figlet@1.5.2
├─ file-entry-cache@6.0.1
├─ fill-range@7.0.1
├─ find-cache-dir@3.3.2
├─ flat-cache@3.0.4
├─ flatted@3.2.2
├─ form-data@3.0.1
├─ fs-extra@10.0.0
├─ fs.realpath@1.0.0
├─ gensync@1.0.0-beta.2
├─ get-caller-file@2.0.5
├─ get-package-type@0.1.0
├─ get-stream@6.0.1
├─ get-symbol-description@1.0.0
├─ glob-parent@5.1.2
├─ globalyzer@0.1.0
├─ globby@11.0.4
├─ globrex@0.1.2
├─ gzip-size@6.0.0
├─ highcharts@9.3.0
├─ html-encoding-sniffer@2.0.1
├─ html-escaper@2.0.2
├─ http-proxy-agent@4.0.1
├─ https-proxy-agent@5.0.0
├─ human-signals@2.1.0
├─ humanize-duration@3.27.0
├─ husky@7.0.4
├─ iconv-lite@0.4.24
├─ ieee754@1.2.1
├─ inflight@1.0.6
├─ inherits@2.0.4
├─ interpret@1.4.0
├─ is-absolute-url@3.0.3
├─ is-arrayish@0.2.1
├─ is-bigint@1.0.4
├─ is-binary-path@2.1.0
├─ is-boolean-object@1.1.2
├─ is-buffer@1.1.6
├─ is-callable@1.2.4
├─ is-date-object@1.0.5
├─ is-docker@2.2.1
├─ is-extglob@2.1.1
├─ is-glob@4.0.3
├─ is-interactive@1.0.0
├─ is-module@1.0.0
├─ is-negative-zero@2.0.1
├─ is-number-object@1.0.6
├─ is-number@7.0.0
├─ is-potential-custom-element-name@1.0.1
├─ is-reference@1.2.1
├─ is-regex@1.1.4
├─ is-resolvable@1.1.0
├─ is-shared-array-buffer@1.0.1
├─ is-string@1.0.7
├─ is-symbol@1.0.4
├─ is-weakref@1.0.1
├─ is-wsl@2.2.0
├─ isexe@2.0.0
├─ istanbul-lib-instrument@5.0.4
├─ istanbul-lib-source-maps@4.0.1
├─ istanbul-reports@3.0.5
├─ jest-changed-files@27.3.0
├─ jest-circus@27.3.1
├─ jest-cli@27.3.1
├─ jest-docblock@27.0.6
├─ jest-jasmine2@27.3.1
├─ jest-leak-detector@27.3.1
├─ jest-pnp-resolver@1.2.2
├─ jest-resolve-dependencies@27.3.1
├─ jest-serializer@27.0.6
├─ jest-watch-typeahead@0.6.5
├─ jest-watcher@27.3.1
├─ jest@27.3.1
├─ jora@1.0.0-beta.5
├─ jpjs@1.2.1
├─ js-tokens@4.0.0
├─ jsdom@16.7.0
├─ jsesc@2.5.2
├─ json-parse-better-errors@1.0.2
├─ json-parse-even-better-errors@2.3.1
├─ json-schema-traverse@0.4.1
├─ json-stable-stringify-without-jsonify@1.0.1
├─ json5@2.2.0
├─ jsonfile@6.1.0
├─ jsx-ast-utils@3.2.1
├─ kleur@3.0.3
├─ language-subtag-registry@0.3.21
├─ language-tags@1.0.5
├─ leven@3.1.0
├─ lines-and-columns@1.1.6
├─ loader-runner@4.2.0
├─ locate-path@2.0.0
├─ lodash.clonedeep@4.5.0
├─ lodash.debounce@4.0.8
├─ lodash.memoize@4.1.2
├─ lodash.truncate@4.4.2
├─ lodash.uniq@4.5.0
├─ lodash@4.17.21
├─ log-symbols@4.1.0
├─ log-update@2.3.0
├─ loose-envify@1.4.0
├─ lower-case@2.0.2
├─ lru-cache@6.0.0
├─ make-dir@3.1.0
├─ make-error@1.3.6
├─ makeerror@1.0.11
├─ md5@2.3.0
├─ mdn-data@2.0.14
├─ mime-db@1.50.0
├─ mime-types@2.1.33
├─ mimic-fn@2.1.0
├─ mkdirp@1.0.4
├─ mri@1.2.0
├─ ms@2.1.2
├─ nanocolors@0.1.12
├─ nanoid@3.1.30
├─ nanospinner@0.3.2
├─ neo-async@2.6.2
├─ no-case@3.0.4
├─ node-int64@0.4.0
├─ node-modules-regexp@1.0.0
├─ node-releases@2.0.1
├─ normalize-path@3.0.0
├─ normalize-url@6.1.0
├─ npm-run-path@4.0.1
├─ nth-check@2.0.1
├─ nwsapi@2.2.0
├─ object-assign@4.1.1
├─ object-inspect@1.11.0
├─ object.entries@1.1.5
├─ object.fromentries@2.0.5
├─ object.hasown@1.1.0
├─ object.values@1.1.5
├─ once@1.4.0
├─ open@8.3.0
├─ optionator@0.9.1
├─ ora@5.4.1
├─ p-limit@3.1.0
├─ p-locate@2.0.0
├─ p-try@1.0.0
├─ parent-module@1.0.1
├─ parse-json@5.2.0
├─ parse5@6.0.1
├─ pascal-case@3.1.2
├─ path-exists@3.0.0
├─ path-is-absolute@1.0.1
├─ path-key@3.1.1
├─ picomatch@2.3.0
├─ pirates@4.0.1
├─ pkg-dir@4.2.0
├─ postcss-calc@8.0.0
├─ postcss-colormin@5.2.0
├─ postcss-convert-values@5.0.1
├─ postcss-discard-comments@5.0.1
├─ postcss-discard-duplicates@5.0.1
├─ postcss-discard-empty@5.0.1
├─ postcss-discard-overridden@5.0.1
├─ postcss-merge-longhand@5.0.2
├─ postcss-merge-rules@5.0.2
├─ postcss-minify-font-values@5.0.1
├─ postcss-minify-gradients@5.0.2
├─ postcss-minify-params@5.0.1
├─ postcss-minify-selectors@5.1.0
├─ postcss-modules-extract-imports@3.0.0
├─ postcss-modules-local-by-default@4.0.0
├─ postcss-modules-scope@3.0.0
├─ postcss-modules-values@4.0.0
├─ postcss-normalize-charset@5.0.1
├─ postcss-normalize-display-values@5.0.1
├─ postcss-normalize-positions@5.0.1
├─ postcss-normalize-repeat-style@5.0.1
├─ postcss-normalize-string@5.0.1
├─ postcss-normalize-timing-functions@5.0.1
├─ postcss-normalize-unicode@5.0.1
├─ postcss-normalize-url@5.0.2
├─ postcss-normalize-whitespace@5.0.1
├─ postcss-ordered-values@5.0.2
├─ postcss-reduce-initial@5.0.1
├─ postcss-reduce-transforms@5.0.1
├─ postcss-svgo@5.0.2
├─ postcss-unique-selectors@5.0.1
├─ postcss@8.3.11
├─ prettier-linter-helpers@1.0.0
├─ prettier@2.4.1
├─ progress-estimator@0.3.0
├─ progress@2.0.3
├─ prompts@2.4.2
├─ prop-types@15.7.2
├─ psl@1.8.0
├─ pump@3.0.0
├─ queue-microtask@1.2.3
├─ react-is@16.13.1
├─ readable-stream@3.6.0
├─ readdirp@3.6.0
├─ rechoir@0.6.2
├─ regenerate-unicode-properties@9.0.0
├─ regenerator-transform@0.14.5
├─ regexp.prototype.flags@1.3.1
├─ regexpu-core@4.8.0
├─ regjsgen@0.5.2
├─ regjsparser@0.7.0
├─ require-directory@2.1.1
├─ require-from-string@2.0.2
├─ resolve-cwd@3.0.0
├─ resolve.exports@1.1.0
├─ restore-cursor@3.1.0
├─ reusify@1.0.4
├─ rimraf@3.0.2
├─ rollup-plugin-sourcemaps@0.6.3
├─ rollup-plugin-terser@7.0.2
├─ rollup-plugin-typescript2@0.30.0
├─ rollup@2.58.0
├─ run-parallel@1.2.0
├─ sade@1.7.4
├─ safe-buffer@5.2.1
├─ safer-buffer@2.1.2
├─ saxes@5.0.1
├─ schema-utils@3.1.1
├─ semver@6.3.0
├─ shebang-command@2.0.0
├─ shebang-regex@3.0.0
├─ shelljs@0.8.4
├─ sisteransi@1.0.5
├─ size-limit@6.0.3
├─ slice-ansi@4.0.0
├─ source-map-js@0.6.2
├─ source-map-resolve@0.6.0
├─ source-map-support@0.5.20
├─ sourcemap-codec@1.4.8
├─ sprintf-js@1.0.3
├─ stable@0.1.8
├─ string_decoder@1.3.0
├─ string-natural-compare@3.0.1
├─ string-width@4.2.3
├─ string.prototype.matchall@4.0.6
├─ string.prototype.trimend@1.0.4
├─ string.prototype.trimstart@1.0.4
├─ strip-bom@3.0.0
├─ strip-json-comments@3.1.1
├─ style-loader@3.3.1
├─ stylehacks@5.0.1
├─ supports-hyperlinks@2.2.0
├─ svgo@2.7.0
├─ symbol-tree@3.2.4
├─ table@6.7.2
├─ terminal-link@2.1.1
├─ terser-webpack-plugin@5.2.4
├─ terser@5.9.0
├─ test-exclude@6.0.0
├─ text-table@0.2.0
├─ timsort@0.3.0
├─ tiny-glob@0.2.9
├─ tmpl@1.0.5
├─ to-fast-properties@2.0.0
├─ to-regex-range@5.0.1
├─ tough-cookie@4.0.0
├─ tr46@2.1.0
├─ ts-jest@27.0.7
├─ tsconfig-paths@3.11.0
├─ tslib@2.3.1
├─ type-detect@4.0.8
├─ type-fest@0.21.3
├─ typedarray-to-buffer@3.1.5
├─ typescript@4.4.4
├─ unbox-primitive@1.0.1
├─ unicode-canonical-property-names-ecmascript@2.0.0
├─ unicode-match-property-ecmascript@2.0.0
├─ unicode-match-property-value-ecmascript@2.0.0
├─ unicode-property-aliases-ecmascript@2.0.0
├─ universalify@0.1.2
├─ util-deprecate@1.0.2
├─ v8-compile-cache@2.3.0
├─ v8-to-istanbul@8.1.0
├─ vendors@1.0.4
├─ w3c-hr-time@1.0.2
├─ w3c-xmlserializer@2.0.0
├─ walker@1.0.7
├─ watchpack@2.2.0
├─ wcwidth@1.0.1
├─ webpack-sources@3.2.1
├─ webpack@5.59.1
├─ whatwg-url@8.7.0
├─ which-boxed-primitive@1.0.2
├─ which@2.0.2
├─ word-wrap@1.2.3
├─ wrap-ansi@3.0.1
├─ write-file-atomic@3.0.3
├─ ws@7.5.5
├─ xmlchars@2.2.0
├─ y18n@5.0.8
├─ yallist@4.0.0
├─ yaml@1.10.2
├─ yargs-parser@20.2.9
└─ yocto-queue@0.1.0
$ dts build
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

    at makeError (/home/user/.npm/_npx/9780/lib/node_modules/dts-cli/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/home/user/.npm/_npx/9780/lib/node_modules/dts-cli/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async /home/user/.npm/_npx/9780/lib/node_modules/dts-cli/dist/index.js:169:9

Expected behavior

The command finishes the setup successfully.

Suggested solution(s)

Additional context

Your environment

  System:
    OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 6.99 GB / 15.54 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 14.18.0 - /tmp/fnm_multishells/2688_1634980799404/bin/node
    Yarn: 1.22.15 - /tmp/fnm_multishells/2688_1634980799404/bin/yarn
    npm: 6.14.15 - /tmp/fnm_multishells/2688_1634980799404/bin/npm
  Browsers:
    Chrome: 94.0.4606.81
    Firefox: 93.0
  npmPackages:
    dts-cli: ^0.19.3 => 0.19.3 
    typescript: ^4.4.4 => 4.4.4 
  npmGlobalPackages:
    dts-cli: 0.19.3
@aladdin-add
Copy link

fixed in v0.19.4, thx for the report! 👍

@velut
Copy link
Author

velut commented Oct 23, 2021

Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants