Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
90 views

Issue: jsbundling-rails can not use yarn build on production server. Cause: Inability of to access nvm packages through ssh. After login on server: which yarn > /home/[user]/.nvm/versions/node/v25....
Tim's user avatar
  • 3
0 votes
0 answers
63 views

I recently migrated from webpacker to jsbundling-rails with webpack using this file as a reference link, but I have a problem and it is that in the path app/assets/builds/application.js where the ...
AlexCs's user avatar
  • 67
0 votes
0 answers
86 views

I am using Rails 7 with esbuild, jsbundling-rails, and importmap-rails. I am using the following command to start the esbuild watcher: esbuild app/javascript/*.* --bundle --sourcemap --format=esm \ -...
rlkw1024's user avatar
  • 6,525
0 votes
0 answers
201 views

I am trying to deploy a Ruby on Rails app on an ubuntu VM. I have installed yarn both for the app's user and for root. yarn -v returns a version successfully. However, when trying to deploy using ...
Sukanta's user avatar
  • 103
0 votes
0 answers
49 views

Question regarding jsbundling-rails gem, asked on github and posting here also for more visibility. I've tried intalling a couple different bundlers now for a new app, essentially getting the same ...
bjorn's user avatar
  • 185
2 votes
1 answer
325 views

I have a Rails app where I have setup a Javascript entrypoint with a React component also adding Tailwind using jsbundling-rails, esbuild and cssbundling-rails. In development mode, the first time I ...
Ernesto G's user avatar
  • 545
0 votes
1 answer
412 views

I’m encountering an issue with nodemon in my Rails esbuild application. The esbuild setup for a new rails app uses nodemon by default to watch for changes in the .scss files and trigger the CSS build ...
Priscila Finkler Innocente's user avatar
2 votes
2 answers
2k views

My Angular dependencies aren't working and I don't know why. All the resources I've seen indicate that this should work: import { Component } from '@angular/core'; import { ActivatedRoute } from '@...
Luke Bretscher's user avatar
1 vote
1 answer
1k views

I'm trying to upgrade a working legacy app to Rails 7, from Rails 6.1. I want to use Hotwire, so I added gem turbo-rails. Ruby 3.1.2 zeitwerk no webpacker sprockets-rails no modern JS yet app passes ...
nimmolo's user avatar
  • 627
1 vote
2 answers
1k views

I am switching my Rails 7 application (which currently uses Sprockets) to using the new jsbundling+esbuild approach. I cannot get Bootstrap's tooltip functionality to work, even though I think I am ...
Jaco Pretorius's user avatar
1 vote
1 answer
313 views

after long list of issues with rails/webpack there is a last one that hard to understand to fix properly. I use: rails with jsbundling-rails and sprockets-rails webpack yarn (switched from npm ...
romain-p's user avatar
1 vote
1 answer
307 views

I started a fresh rails 7 application using jsbundling-rails (with esbuild) and cssbundling-rails (with bootstrap). The pipeline works well to build assets. After testing that, I removed sprockets gem ...
Rafael Gomes Francisco's user avatar
1 vote
1 answer
780 views

I am trying to import an image from JS in production. I have rails 6 with esbuild and jsbundling, and it works fine in development environment, but in production, images being imported from JS has no ...
yangtheman's user avatar
0 votes
1 answer
1k views

How do I import Javascript with directories? I've set up jsbundling-rails using the esbuild bundler for a Rails 7 project that was previously using sprockets to handle all assets. It appears that I'...
Thomas's user avatar
  • 3,043
1 vote
0 answers
281 views

Rails 7, jsbundling-rails, webpack A page using Stimulus gives a JavaScript error which in Chrome points to a compiles JavaScript. For me it would be more useful to have it point to the original ...
Greg's user avatar
  • 2,609
5 votes
1 answer
5k views

Hello I am currently following a tutorial in order to connect react to my rails app that uses https://github.com/rails/jsbundling-rails and went with esbuild, however when I run bin/dev in my terminal ...
CoolGuy's user avatar
  • 139
3 votes
1 answer
677 views

I'm using Rails 6.1.7 with jsbundling-rails and cssbundling-rails. I'm bundling with Webpack and Dart sass for js and css respectively. I've tried to follow the docs, and added the sass load paths as ...
JoshingYou's user avatar
0 votes
1 answer
373 views

Gemfile ruby '3.1.2' gem 'rails', '~> 7.0' gem 'pg' , '~> 1.4.3' gem "jsbundling-rails" gem "sprockets-rails" gem "turbo-rails" ➜ yarn upgrade bootstrap Results ...
Greg's user avatar
  • 2,609
3 votes
0 answers
659 views

I have this script that runs when running Rails 7 with esbuild build, this is inside package.json in the scripts attribute, it's ran from the Rails procfile: esbuild app/javascript/*.* --bundle --...
CafeHey's user avatar
  • 5,870
0 votes
0 answers
567 views

Following there github page All have done earlier rails new hello-world -j esbuild bundle add jsbundling-rails When I run rails javascript:install:esbuild I got the following errors below Under ...
Ismail's user avatar
  • 31
3 votes
0 answers
115 views

I'm trying to set up a Rails app with a react front end, as indicated in this post: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-ruby-on-rails-project-with-a-react-frontend However,...
user5505199's user avatar
1 vote
1 answer
251 views

Trying to grok how to work with js files in Rails 7 using the jsbundling-rails gem and ES modules... In short, I want to code up functions and have them available in the page. Here's a simple example. ...
painbot's user avatar
  • 170
3 votes
1 answer
2k views

I am moving away from Webpack to Esbuild, using jsbundling-rails and cssbundling-rails. Rails version is 6.1.5 Everything seems to be working fine, but in my logs I get: ActionController::RoutingError ...
Pseudo-Hippy's user avatar
5 votes
1 answer
4k views

I'm moving a Rails 6 app from webpack & webpacker to esbuild & jsbundling-rails I can't find any documentation on the correct way to import custom js files in application.js, if not using ...
Pseudo-Hippy's user avatar
4 votes
1 answer
933 views

Not specifically a Rails question, but a question within a Rails app. In my app I am using the jsbundling-rails gem configured with esbuild. This gem adds a build line to my package.json file. It ...
rctneil's user avatar
  • 7,240
4 votes
0 answers
1k views

I'm currently building an application using new rails 7 and js_bundling gem with webpack (not webpacker). But I'm having trouble making the javascript work. I am currently packing all my sources into ...
Lukáš Rynt's user avatar
1 vote
0 answers
337 views

I'm in the process of updating my Rails app to version 7. As part of this, I've removed Webpacker and am trying to move my whole assets solution to the new jsbundling-rails and cssbundling-rails gems....
rctneil's user avatar
  • 7,240