Giter Site home page Giter Site logo

ExecJS::ProgramError about devise_zxcvbn HOT 3 CLOSED

bitzesty avatar bitzesty commented on July 17, 2024
ExecJS::ProgramError

from devise_zxcvbn.

Comments (3)

IlkhamGaysin avatar IlkhamGaysin commented on July 17, 2024

@handcrab Could you please show me your Gemfile.lock I am interested in a version of therubyracer

from devise_zxcvbn.

IlkhamGaysin avatar IlkhamGaysin commented on July 17, 2024

2017-03-29 12 31 45

I've tried to run this with these gems and it works. I guess I have to set the same version of therubyracer and zxcvbn-js...

therubyracer (0.12.2)
  libv8 (~> 3.16.14.0)
  ref
zxcvbn-js (4.4.2)
  execjs

from devise_zxcvbn.

dreamfall avatar dreamfall commented on July 17, 2024

@handcrab I could not reproduce the issue with following versions

    devise_zxcvbn (2.1.1)
      devise
      zxcvbn-js (~> 4.2.0)
    rails (5.0.2)
    sidekiq (2.17.6)
    therubyracer (0.12.3)
      libv8 (~> 3.16.14.15)
      ref

Can you please provide with more info on the versions of the gems and/or the sample application where the error can be reproduced?

class User
  def weak_password?(password)
    Devise.zxcvbn_tester.test(password, []).score < Devise.min_password_score
  end
end

class HardWorker
  include Sidekiq::Worker
  def perform
    puts User.new.weak_password?("123")
  end
end
irb(main):009:0> HardWorker.perform_async
2017-03-29T15:19:18Z 9522 TID-ovzi54q3o INFO: Sidekiq client with redis options {}
=> "74826ba2d48b195a20495197" 

from devise_zxcvbn.

Related Issues (18)

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.