ruby on rails - = stylesheet_link_tag devise Completed 401 Unauthorized -


i have weird situation, setup devise , i'm getting:

completed 401 unauthorized   

and home#page never ends loading. noted if remove:

= stylesheet_link_tag 'mainstyles'  

from application layout, can load page don't know how stylesheet_link_tag related 401 code.

solved:

my error put npm modules in app/assets/ instead of app/lib/assets/

i guess rails trying compile 500 mb of js modules , of course reason endless loading.


Comments