I am working on a simple ruby ββon rails application and I am getting the following error:
TypeError: Cannot read property 'process' of undefined (in/home/saasbook/Documents/projects/Bookkeeper/app/assets/stylesheets/application.css.sass)
The extracted source is as follows:
<html> <head> <title>Bookkeeper</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> //Highlighted error line in extract <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %>
This error occurred after I added Bootstrap Sass using the Bootstrap Sass plugin and following this tutorial
Below the excerpt, it is stated that the error is:
app/views/layouts/application.html.erb:5:in_app_views_layouts_application_html_erb__226809778_88444660'
My code
application.html.erb
<!DOCTYPE html> <html> <head> <title>Bookkeeper</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> //Highlighted error line in extract <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
application.css.sass
@import "bootstrap-sprockets" @import "bootstrap"
The page shows this name in a red frame at the top, is this any help?
ExecJS::ProgramError in Portal#index
source share