GithubHelp home page GithubHelp logo

Comments (5)

sant123 avatar sant123 commented on June 22, 2024

Exactly, it throws this error:

assert.js:83
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: expected key to be a string

A workaround here is store.data. I think docs should be updated.

from data-store.

dkebler avatar dkebler commented on June 22, 2024

@sant123 months later still a problem ...

either support should be put back in or docs updated although IMO it should be supported as was.

Dev has been silent. @jonschlinkert do you have time to do this? Accepting PRs?

from data-store.

jonschlinkert avatar jonschlinkert commented on June 22, 2024

from data-store.

jardicc avatar jardicc commented on June 22, 2024

I switched to the: https://www.npmjs.com/package/preferences This is really great module. Once you assign value then it saved by default and it looks like just like JS object. I believe it uses setters.

from data-store.

jonschlinkert avatar jonschlinkert commented on June 22, 2024

fixed by #17

from data-store.

Related Issues (20)

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.