GithubHelp home page GithubHelp logo

Comments (6)

rootameen avatar rootameen commented on July 3, 2024

Note: even running node semaphore.js doesn't help:

[root@me bin]# node semaphore.js

/home/ameen/semaphore-master/node_modules/bindings/bindings.js:91
  throw err
        ^
Error: Could not locate the bindings file. Tried:
 → /home/ameen/semaphore-master/node_modules/bcrypt/build/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/build/Debug/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/build/Release/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/out/Debug/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/Debug/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/out/Release/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/Release/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/build/default/bcrypt_lib.node
 → /home/ameen/semaphore-master/node_modules/bcrypt/compiled/0.10.36/linux/x64/bcrypt_lib.node
    at bindings (/home/ameen/semaphore-master/node_modules/bindings/bindings.js:88:9)
    at Object.<anonymous> (/home/ameen/semaphore-master/node_modules/bcrypt/bcrypt.js:3:35)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/ameen/semaphore-master/lib/models/User.js:1:76)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at /home/ameen/semaphore-master/lib/models/index.js:12:26

from semaphore.

rootameen avatar rootameen commented on July 3, 2024

After running, rm -Rf node_modules; npm install .
The app is working. However, after login it redirects me again to the login page.

note: I'm posting my progress towards fixing the issue so anyone who faces it has an idea if they face the same issues.

from semaphore.

matejkramny avatar matejkramny commented on July 3, 2024

Hi there!

You do need to run redis before hand. I see in the error log that some bindings module can't locate native code. I'd suggest re-installing the node modules and watching for any errors there.

Neither pm2 or supervisor will aid this issue. All they do is keep the node process up (ie if it crashes, it is rebooted).

Install Redis and run it, and let us know how you get on!

from semaphore.

rootameen avatar rootameen commented on July 3, 2024

hi @matejkramny .. I installed redis on the server and it is currently running.

My problem now is that I see the login page of the application, when I input the default user and password and click login, I can see for a split second that it says "login successful" But then it redirects me again to the login page.

Any idea why this is happening?
Thanks!

from semaphore.

matejkramny avatar matejkramny commented on July 3, 2024

Try adding npm-shrinkwrap.json file as per #52 (specific comment)

from semaphore.

rootameen avatar rootameen commented on July 3, 2024

@matejkramny that worked.

Unfortunately semaphore wasn't as I expected. Documentation isn't clear and getting things off after finishing the installation isn't clear at all.

Thank you for your help though.

from semaphore.

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.