You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With cosmiconfig 7.0.1, build fails with the following error. I'm packaging webfont for debian and would like to use cosmiconfig 7.0.1 from debian archive (we prefer to use only one version of a module - in rare cases, we can use multiple versions but we prefer to avoid such cases if possible).
$ npm run test
> [email protected] pretest
> npm run build
> [email protected] prebuild
> npm run clean && npm run lint
> [email protected] clean
> rm -rf dist/ temp/
> [email protected] lint
> eslint .
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
> [email protected] build
> rollup -c
src/cli/index.ts → dist/cli.js...
(!) Plugin typescript: @rollup/plugin-typescript TS2349: This expression is not callable.
Type 'typeof import("/home/pravi/forge/js-team/upstream/webfont/node_modules/cosmiconfig/dist/index")' has no call signatures.
src/standalone/index.ts: (28:26)
28 const configExplorer = cosmiconfig("webfont");
~~~~~~~~~~~
created dist/cli.js in 6.4s
src/index.ts → dist...
created dist in 153ms
> [email protected] postbuild
> tsc --declaration --declarationDir dist --emitDeclarationOnly
src/standalone/index.ts:28:26 - error TS2349: This expression is not callable.
Type 'typeof import("/home/pravi/forge/js-team/upstream/webfont/node_modules/cosmiconfig/dist/index")' has no call signatures.
28 const configExplorer = cosmiconfig("webfont");
~~~~~~~~~~~
Found 1 error.
The text was updated successfully, but these errors were encountered:
With cosmiconfig 7.0.1, build fails with the following error. I'm packaging webfont for debian and would like to use cosmiconfig 7.0.1 from debian archive (we prefer to use only one version of a module - in rare cases, we can use multiple versions but we prefer to avoid such cases if possible).
The text was updated successfully, but these errors were encountered: