-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth issue when getting started #161
Comments
FYI, we're currently revisiting the installation methods available because they aren't reliable, as you found out the hard way. This is a high priority for us. See #162. |
Ok thanks, as a workaround I copied the files in the meantime. I will keep an eye on the PR ! |
This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions. |
@jarednorman overtaken by reality, can be closed |
Hi,
I'd like to report issues that I'm encountering with solidus_starter_frontend.
I understand this is the recommended route for newcomers but in my case getting started with it hasn't been very simple.
I have outlined the steps I followed hoping we can fix this and make it easier to get started with the new frontend.
I'm still investigating to get past this issue, any help is very welcome !
With
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin19]
andRails 6.1.3.2
, if we create a fresh rails apprails new test_solidus --skip-javascript
:Add the following gems to the Gemfile:
Run the installer
rails generate solidus:install
.Serve the app
rails s
.Then the app works but the styling is missing, login seems to work too..
The auth controllers are present if we check the console
rails c
:So if we want to go the other way and add the files to the project
bundle exec solidus_starter_frontend
, comment out the solidus_starter_frontend gem in the Gemfile:After
bundle install
andrails s
:Now, we get a nice store, everything looks good but no auth link in the top bar and auth doesn't work.
If we navigate to "/login", we get
No route matches [GET] "/login"
If we check the console
rails c
:It seems that running the installer breaks auth somehow by causing the solidus_auth_devise frontend controllers to not be accessible anymore..
Maybe this could be fixed by moving the files across from the repo but this isn't ideal as we can't benefit from the up-to-date gem.
Does anyone know what could be causing this ?
The text was updated successfully, but these errors were encountered: