node-wot icon indicating copy to clipboard operation
node-wot copied to clipboard

Auto-updating sinon dependencies causes issues

Open danielpeintner opened this issue 2 years ago • 2 comments

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 https://github.com/eclipse/thingweb.node-wot/pull/822/commits/ccd01258ae1fe69e58706bb480453fab9ce742b0

danielpeintner avatar Aug 11 '22 11:08 danielpeintner