You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I am not really sure where to post this, because it occurs when I use your gem, bundled by rails-assets. I guess it stopped working, because bower got (for no apparent reason) deleted from your repository.
check the console (in my case Chrome's console) - you will see this error.
Also the auto-generated gem mentions this:
This component doesn't define main assets in bower.json.\nPlease open new pull request in component's repository:\nhttps://github.com/Bluefieldscom/intl-tel-input
Expected behaviour
No error in console
Plugin works normally
Actual behaviour
Javascript error "Uncaught ReferenceError: module is not defined" causes this plugin not to work
Initialisation options
The text was updated successfully, but these errors were encountered:
Hi there, I am not really sure where to post this, because it occurs when I use your gem, bundled by rails-assets. I guess it stopped working, because bower got (for no apparent reason) deleted from your repository.
Related issue: #357
Occurred after upgrading from 7.1.1 to 8.3.0. I am using rails-assets.
Steps to reproduce using rails 4.2.5.1, ruby 2.2.3p173
rails new test_app --no-skip-git --skip-active-record --skip-spring --skip-turbolinks --skip-test-unit
cd test_app/
echo "gem 'rails-assets-intl-tel-input', source: 'https://rails-assets.org'" >> Gemfile
bundle install
echo "//= require intl-tel-input" >> app/assets/javascripts/application.js
echo "class HelloController < ApplicationController; def show; render text:'', layout: true; end; end" > app/controllers/hello_controller.rb
echo "Rails.application.routes.draw do; root 'hello#show'; end" > config/routes.rb
rails s
open http://localhost:3000/
Also the auto-generated gem mentions this:
This component doesn't define main assets in bower.json.\nPlease open new pull request in component's repository:\nhttps://github.com/Bluefieldscom/intl-tel-input
Expected behaviour
Actual behaviour
Javascript error "Uncaught ReferenceError: module is not defined" causes this plugin not to work
Initialisation options
The text was updated successfully, but these errors were encountered: