Closed LingboTang closed 8 years ago
@LingboTang thanks for opening this issue!
but when I navigate to "/" I can't see anything.
Are you overriding the view?
What about overriding the controller?
If not, are there errors on the server?
What about errors in your browser about missing assets?
When I run rails s -e production
I got:
ActionView::Template::Error (Failed to find assets matching `(?-mix:client(.*)\.js\z)`):
1: <%= include_ember_script_tags :frontend %>
2: <%= include_ember_stylesheet_tags :frontend %>
3: <%= render_ember_app :frontend do |head, body| %>
4: <% head.append do %>
app/views/ember_cli/ember/index.html.erb:1:in
`_app_views_ember_cli_ember_index_html_erb___3995453350200719983_70267274045520'
(Failed to find assets matching
(?-mix:client(.*).js\z))
Where did this regex come from?
@LingboTang could you please provide some more context around how you have the gem configured for your project?
Closing this issue for now.
@LingboTang if you're still experiencing this issue, please respond to https://github.com/thoughtbot/ember-cli-rails/issues/430#issuecomment-207441113 and I'll reopen.
I was battling this for a couple days. (Failed to find assets matching(?-mix:frontend(.*).js\z))
Adding "ember-cli-sass": "5.6.0",
to my /frontend/package.json
fixed this for me.
I mounted my ember app to "/" as the guideline:
and
rake ember:install
is running without problem:but when I navigate to "/" I can't see anything.