npm install (or yarn) on my Windows development system yields the following errors. What am I missing? I followed the instructions in the storex repo. Thanks!
C:\Users\saro\app\storex-backend-dexie>npm install
[email protected] postinstall C:\Users\saro\app\storex-backend-dexie\node_modules\sinon
node scripts/support-sinon.js
Have some ❤️ for Sinon? You can support the project via Open Collective:
https://opencollective.com/sinon/donate
@worldbrain/[email protected] prepare C:\Users\saro\app\storex-backend-dexie
tsc
ts/index.ts:248:40 - error TS2694: Namespace '"C:/Users/saro/app/storex-backend-dexie/node_modules/@worldbrain/storex/lib/types/backend"' has no exported member 'OperationBatch'.
248 async executeBatch(batch : backend.OperationBatch) {
~~~~~~~~~~~~~~
ts/index.ts:259:25 - error TS2694: Namespace '"C:/Users/saro/app/storex-backend-dexie/node_modules/@worldbrain/storex/lib/types/backend"' has no exported member 'OperationBatch'.
259 batch : backend.OperationBatch,
~~~~~~~~~~~~~~
ts/index.ts:398:28 - error TS2554: Expected 2 arguments, but got 3.
398 const dissection = dissectCreateObjectOperation(step, registry, {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
399 generatePlaceholder: (() => {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
409 })()
~~~~~~~~~~~~~~~~
410 })
~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @worldbrain/[email protected] prepare: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @worldbrain/[email protected] prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\saro\AppData\Roaming\npm-cache_logs\2019-02-25T16_01_57_282Z-debug.log