Giter Club home page Giter Club logo

storex-backend-dexie's Issues

Cannot install due to errors

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.