I'm trying to use ember-cli-rails with ember-island to render components in rails views. Each time I try to include the js and css I get this error from ember:
jquery.js:3869 Uncaught UnrecognizedURLError {description: undefined, fileName: undefined, lineNumber: undefined, message: "/admin/invoices/new", name: "UnrecognizedURLError", …} (It doesn't matter the URL, it's the same with different urls).
If I run ember standalone (ember s) the app works fine, it only fails with rails.
Do you know what could be happening?
Which operating system and version is the project developed on?
OSX El Capitan 10.11.6
Which version of ruby is the project developed on?
ruby-2.3.1 [ x86_64 ]
Which version of npm is the project developed on?
$ npm -v
4.0.5
Which version of ember-cli is the project developed on?
$ ember -v
ember-cli: 2.15.1
node: 7.4.0
os: darwin x64
What is the rails version?
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
(installed 5.0.6)
I'm trying to use
ember-cli-rails
withember-island
to render components in rails views. Each time I try to include the js and css I get this error from ember:jquery.js:3869 Uncaught UnrecognizedURLError {description: undefined, fileName: undefined, lineNumber: undefined, message: "/admin/invoices/new", name: "UnrecognizedURLError", …}
(It doesn't matter the URL, it's the same with different urls).If I run ember standalone (ember s) the app works fine, it only fails with rails.
Do you know what could be happening?
Which operating system and version is the project developed on? OSX El Capitan 10.11.6
Which version of
ruby
is the project developed on? ruby-2.3.1 [ x86_64 ]Which version of
npm
is the project developed on? $ npm -v 4.0.5Which version of
ember-cli
is the project developed on? $ ember -v ember-cli: 2.15.1 node: 7.4.0 os: darwin x64What is the
rails
version? gem 'rails', '~> 5.0.0', '>= 5.0.0.1' (installed 5.0.6)What is the
ember-cli-rails
version (fromGemfile
)? 0.10.0What is the
ember-cli-rails-addon
version (frompackage.json
)? 0.8.0Is your application server multi-threaded (such as
puma
andunicorn
) or is it multi-process (such as thin and webrick)? puma, 1 proccessWhat are the contents of
config/initializers/ember.rb
?What are the contents of the Rails' view that renders the Ember application?
How are the EmberCLI-related routes defined?
mount_ember_assets :frontend, to: '/'
How is the application deployed? Not deployed yet, only local