Giter Site home page Giter Site logo

Comments (4)

matthewfl avatar matthewfl commented on August 11, 2024

I do not quite understand what you mean by it asking for a login when you try to save, as this is expected.

As for not being able to login with the new login you are making. It is attempting to redirect to the home page, or to the "username all ready taken" page.

I would check the database to make sure that your login info is there as it should be. It should be contained in a login_username key, and the value will be a hash of your password.

from node-host.

remy avatar remy commented on August 11, 2024

Sorry, I didn't mean that it was unexpected that I needed to login - only that registering and trying to login would fail consistently.

I couldn't find any directions on the database or login_username. I've just started poking around the config.js and changing some of the properties there. I've also found a file called database.db - which is consistently empty.

No matter what I put in the lightbox when registering a new user, it always redirects me to the /newUser page.

from node-host.

rafaelcastrocouto avatar rafaelcastrocouto commented on August 11, 2024

I'm also stuck at this point. I'm guessing tyrant is the default DB but how am I suppose to check it out?
Since remy comment is one year old, seems like matthewfl is out of time.
I really like node-host and I'm willing to help develop it, please don't let this project die.

from node-host.

matthewfl avatar matthewfl commented on August 11, 2024

My issue is that I have never been able to replicate this issue and can only assume that it is an issue with configuration of tyrant or node-host (of which I am not sure).

The only thing that I can think of is that you might not have properly linked the db.tyrant.js file to db.js, but not doing so should cause an error with node and be unable to start. However on that node, you could link the db.nstore.js file rather than the db.tyrant.js and you should be able to use nstore, but I don't guarantee the stability of that or that you will even have better luck than with tyrant.

Additionally as you have guess I am "out of time"

from node-host.

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.