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
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
node_modules/@types/sinon/index.d.ts:1569:67 - error TS2694: Namespace '"/Users/rupert/Downloads/plugin-metadata-hook-demo-master/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.
1569 useFakeTimers(config?: number | Date | Partial<FakeTimers.FakeTimerInstallOpts>): SinonFakeTimers;
~~~~~~~~~~~~~~~~~~~~
Found 2 errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rupert@MacBook-Pro-de-Rupert plugin-metadata-hook-demo-master %
Additional information
I'm using TypeScript version 4.4.4
VS Code Version:
SFDX CLI Version:
OS and version: MacOS 11.7.1
The text was updated successfully, but these errors were encountered:
Summary
Building out of the box generates the following error : has no exported member 'FakeTimerInstallOpts'
Steps To Reproduce:
Expected result
Should build
Actual result
% yarn prepack
yarn run v1.22.19
$ yarn run build && oclif-dev manifest
$ yarn run clean:lib && yarn compile
$ shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json
$ tsc -b
node_modules/@types/sinon/index.d.ts:1447:53 - error TS2694: Namespace '"/Users/rupert/Downloads/plugin-metadata-hook-demo-master/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.
1447 useFakeTimers: boolean | Partial<FakeTimers.FakeTimerInstallOpts>;
~~~~~~~~~~~~~~~~~~~~
node_modules/@types/sinon/index.d.ts:1569:67 - error TS2694: Namespace '"/Users/rupert/Downloads/plugin-metadata-hook-demo-master/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.
1569 useFakeTimers(config?: number | Date | Partial<FakeTimers.FakeTimerInstallOpts>): SinonFakeTimers;
~~~~~~~~~~~~~~~~~~~~
Found 2 errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rupert@MacBook-Pro-de-Rupert plugin-metadata-hook-demo-master %
Additional information
I'm using TypeScript version 4.4.4
VS Code Version:
SFDX CLI Version:
OS and version: MacOS 11.7.1
The text was updated successfully, but these errors were encountered: