bulma-rails icon indicating copy to clipboard operation
bulma-rails copied to clipboard

Precompiling assets failed

Open pablof300 opened this issue 6 years ago • 7 comments

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

pablof300 avatar Feb 13 '19 23:02 pablof300

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

DerekCrosson avatar Jul 12 '19 11:07 DerekCrosson

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.

DerekCrosson avatar Jul 12 '19 11:07 DerekCrosson

@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

couchoud avatar Jul 18 '19 20:07 couchoud

@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 ?

ndjerrou avatar Nov 20 '19 13:11 ndjerrou

@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?

couchoud avatar Nov 20 '19 13:11 couchoud

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

gd-m avatar Apr 25 '20 00:04 gd-m

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

waywho avatar Jul 21 '20 16:07 waywho