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

Auto-updating sinon dependencies causes issues #823

Open
danielpeintner opened this issue Aug 11, 2022 · 2 comments
Open

Auto-updating sinon dependencies causes issues #823

danielpeintner opened this issue Aug 11, 2022 · 2 comments

Comments

@danielpeintner
Copy link
Member

node_modules/@types/sinon/index.d.ts:1447:53 - error TS2694: Namespace '"C:/Projects/WoT/thingweb/thingweb.node-wot-danielpeintner/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.

1447         useFakeTimers: boolean | Partial<FakeTimers.FakeTimerInstallOpts>;

To reproduce:

  • delete package-lock.json
  • run npm install
  • try to run npm run build

I set the version to a fixed version, see ccd0125

@danielpeintner
Copy link
Member Author

npm dedupe (see #765 (comment)) solves the issue...

@danielpeintner
Copy link
Member Author

Not entirely true... the issue persists if the root sinon uses ^ for the version..

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

1 participant