joshuajansen / bulma-rails

350 stars 46 forks source link

Precompiling assets failed #42

Open pablof300 opened 5 years ago

pablof300 commented 5 years ago

I am trying to deploy an app using Bulma to Heroku, but I get this error:

Precompiling assets failed.
Sass::SyntaxError: File to import not found or unreadable: bulma
DerekCrosson commented 5 years ago

@pablof300 did you ever figure this out? I get the same error when deploying to DigitalOcean using Capistrano.

DerekCrosson commented 5 years ago

Also can't find where the bulma folder/file is in the project... Also tried renaming application.css to application.scss but still have the same error.

couchoud commented 5 years ago

@DerekCrosson I ran into the same issue deploying to Heroku. For now, I just installed the bulma npm module through yarn. Install it and put *= 'bulma/css/bulma.css' in your application.css

ndjerrou commented 4 years ago

@DerekCrosson I ran into the same issue deploying to Heroku. For now, I just installed the bulma npm module through yarn. Install it and put *= 'bulma/css/bulma.css' in your application.css

Hi,

When I enter *= 'bulma/css/bulma.css',

My application does not load bulma

Any ideas ?

couchoud commented 4 years ago

@ndjerrou I had to override some of the default bulma variables in my project and ended up doing an @import "bulma/bulma" after the overrides. Maybe give that a try?

gd-m commented 4 years ago

I am having the same error. Has anyone found solution to this error?

waywho commented 4 years ago

It worked for me if you remove *= require_tree . *= require_self