-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Broken normalize import when yarn isn't installed #919
Comments
Anyone ever find a fix for this? i'm having the same issue. |
I just tried to use Suspenders and I have to admit to disappointment. If it is supposed to help people launch a new app quickly with lots of bells and whistles attached it simply doesn't work. First there are a load of "hidden" ENV variables to add in both staging and production, which are then incompatible with SENDGRID ENV variables supplied by Heroku. After that it simply falls over with this normalize issue above, so now I'm giving up and going back to the old "rails new" instead. A pity. It shows promise but it simply doesn't work out of the box and after three hours of hacking around I'm giving up. |
If you want to use I think it could be a note in the readme about
Feel free to contribute :) |
I think a note in the readme might suffice. I was thinking we could also add |
@anhari @delphaber - Suspenders worked locally for me, but I hit this issue when deploying to Heroku. To fix the issue on Heroku, I had to add the code below to my Gemfile:
|
I had to add nodejs as a buildpack BEFORE the ruby one on heroku. No need for Take a look at #930 |
Suspenders is now on Rails 6, which uses yarn and webpacker by default. If you don't have yarn installed it will print:
|
I just saw this error again when trying to deploy a newly created application to Heroku. I am using yarn, but normalize still isn't available. I think this is because the |
Actually, this was the same problem. Something was up with my yarn install. It was still confusing, so I will leave this issue open. I wonder if we can fail right away with a more obvious message if yarn is not installed? |
Ran into this when it seemed like suspenders created a new project without any errors:
File to import not found or unreadable: normalize.css/normalize.
I had to track down how normalize was installed by digging into the source code. Seems like a preliminary check for a yarn installation might be necessary.
The text was updated successfully, but these errors were encountered: