Questions tagged [bundler]

Bundler is a tool that makes it easier to keep track of what Ruby gems (and what versions of those gems) an application depends upon. It does so by installing all the gems in your application’s Gemfile. Bundler itself is a gem and can be installed with the following: $ gem install bundler

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Using Vite to bundle modules without renaming classes

I am working with a JavaScript API that organizes files into modules, each containing classes and helper functions. We've been using Gradle to bundle these files into a single 'core.js' file, which ...
BKokay's user avatar
  • 1
0 votes
0 answers
16 views

Premission Denied Bundler|| Parcel

easywork@Pranjals-MacBook-Air foodla % npx parcel index.html Error: Permission denied at Object.open (/Users/easywork/Desktop/foodla/node_modules/lmdb/dist/index.cjs:2530:15) at new LMDBCache (/Users/...
Pranjal Gupta's user avatar
0 votes
0 answers
35 views

Gemfile.lock changing automatically on M3 Mac

I am not running any commands to make changes. My Gemfile.lock continues to add a line automatically, and every time I undo it, the change is rewritten. PLATFORMS arm64-darwin-22 arm64-darwin-23 # ...
user22544957's user avatar
0 votes
1 answer
27 views

React + Vite : Build process interfering with widget

I am making a football app (react + vite) like Fotmob and I am using api-football for the API data. I am trying to integrate their widget in my app. The widget works fine when used in the index.html (...
user17666483's user avatar
0 votes
0 answers
19 views

Styles not applied when creating component library using styled-components bundled with tsup

I have created a component library using styled-components and published it as an NPM package. I bundled it using tsup (which uses esbuild). My issue is that some (most) of the styles are not being ...
a1.thomas's user avatar
-1 votes
0 answers
18 views

Missing gems when running bundler exec fastlane

I'm trying to run fastlane locally on a M1 MacBook. After running bundler exec fastlane deploy I get the following exception: Could not find json-2.6.3, digest-crc-0.6.5, unf_ext-0.0.8.2 in locally ...
HaDa's user avatar
  • 1
0 votes
0 answers
17 views

New React Native Project gives error on running the bundle install

I have created a new React Native project based on Typescript, and while running the bundle install command, I am getting the following error An error occurred while installing ffi (1.16.3), and ...
Anandhu's user avatar
  • 312
1 vote
1 answer
88 views

Rails without gcc?

I'm trying to install a RoR app (Redmine) on a resource-limited VPS, as follows: $ sudo apt install ruby ruby-bundler ruby-dev $ bundle config set --local without 'development test' $ bundle install ...
QF0's user avatar
  • 343
1 vote
1 answer
60 views

C header issues while running bundle install

I'm trying to run a ruby app so I first tried to run bundle install to install all the required gems. I keep running into the error below for different gems. I've tried multiple solutions off ...
kevthanewversi's user avatar
0 votes
1 answer
39 views

How to tell (webpack) bundler to transform dependent project's tsconfig path

Suppose there is a monorepo workspace. The monorepo has an app sub-workspace(/workspace/app) and a component sub-workspace(/workspace/component). In order to develop app and component library with hot ...
D-Y's user avatar
  • 113
0 votes
0 answers
25 views

"bundle info puma" failed due to other uninstalled dependency

I have a very basic rails application. After running bundle config set --local deployment true and bundle _2.4.10_ install, I want to run bundle info puma to check if puma is installed successfully ...
Baiyang Li's user avatar
3 votes
1 answer
188 views

Rails 7.1.1 - spawning error occurred - passenger - You have already activated stringio 3.0.0, but your Gemfile requires stringio 3.0.8

When upgrading to the latest version of rails, I'm experiencing the following error with passenger refusing to start. The application encountered the following error: You have already activated ...
David Kane's user avatar
0 votes
0 answers
51 views

How do I preserve function names when bundling and minifying with Webpack and TerserPlugin?

I'm trying to bundle my JS module and I need to preserve the function names as these functions will be referenced in external codebases. Below is my webpack.config.js file and as you can see, I've ...
mickymikemichaelmikemike's user avatar
1 vote
1 answer
148 views

Docker Compose Bundle Install Failing

I am calling docker-compose run web bundle install --jobs=8 from inside a container in Github CodeSpaces. The command is failing with the following error: Retrying fetcher due to error (2/4): Bundler::...
Chris's user avatar
  • 11
1 vote
0 answers
102 views

How to Maintain Landing pages with shared components from the main site while keeping them independent?

I am trying to find a better approach on creating and maintaining landing pages along site a large CMS built with Laravel(5.8 + mix 6). Ideally, the landing pages should be able to use main site ...
Stem Florin's user avatar
0 votes
0 answers
23 views

Vite HMR not reloading once rename the filename of functional component

I created functional component file name starting with small letter wrongly, for example profile.jsx and then I saved the project. After I realized, I change the first letter to capital like Profile....
Liam neesan's user avatar
  • 2,331
0 votes
1 answer
237 views

Unable to figure out bundle install error

I recently replaced my XCode 14.3 installation with XCode 15. I tried to re-clone a repo (to start fresh) and ever since I'm unable to run bundle install. It seems to fail when it tries to delete the ...
JFortYork's user avatar
  • 137
0 votes
2 answers
142 views

NPM - unable to resolve dependency tree

I am having an issue that I cannot seem to resolve. I was trying to update webpack and webpack-cli in a project and I keep getting errors like the following: npm install webpack@latest --save-dev ...
DerHaifisch's user avatar
0 votes
1 answer
17 views

LoadError when using bundle exec to run a script in Ruby 3 (using rvm)

The following Ruby script gives me a LoadError when it requires the activesupport gem, but everything else is showing me that it's installed. I get the same error whether I run it through bundle exec ...
Dominus.Vobiscum's user avatar
0 votes
0 answers
118 views

Err: Couldn't find the module "/vercel/path0/node_modules/@mui/material/node/Box/index.js#" in React Client Manifest

Err: Couldn't find the module "/vercel/path0/node_modules/@mui/material/node/Box/index.js#" in React Client Manifest. This is probably a bug in the React Server Components bundler. ...
Kartik Dhawan's user avatar
2 votes
1 answer
278 views

Vite custom plugin transformIndexHtml hook not working during build

I'm writing custom plugin in vite.js to transform my index.html file: return { name: 'html-build-plugin', apply: 'build', transformIndexHtml: { order: 'post', handler(...
Furman's user avatar
  • 2,156
2 votes
1 answer
57 views

How to use Ruby preview releases with Bundler and keep deploying to Heroku

In a project using bundler and Heroku I want to test the ruby-3.3.0-preview1 release, I can make bundler work with the preview version locally, but can't deploy it to Heroku, and the instructions from ...
Everton J. Carpes's user avatar
1 vote
1 answer
310 views

move html files out of src folder in dist vite

I'm currently engaged in a Vue.js project that utilizes Vite as the build tool. My objective is to adjust the Vite configuration in a way that the HTML files are situated directly within the 'dist' ...
komote7665's user avatar
0 votes
1 answer
80 views

What is exactly a bundler?

I am pretty confused about what a bundler really is and mostly its difference, if there is, between a package manager? Is bun for instance a bundler? I haven't found yet a clear explanation resolving ...
pretzel's user avatar
0 votes
0 answers
20 views

can't add gem "devise" to ruby ​on rails 6 project [duplicate]

When I included gem devise in my project and wrote the bundle install command to the console, in order to install all the gems in my project, I got the following error: An error occurred while ...
Vasily Navalnii's user avatar
0 votes
3 answers
60 views

Bundler deployment failing sometimes with "List of sources changed"

I'm having trouble with bundler deploying to our servers after a recent ruby/gems upgrade. Despite hours of Googling, I can't figure out what's going on. bundle install on development like usual, ...
Mike's user avatar
  • 31
0 votes
1 answer
26 views

Bundling a remote React project with Rollup & babel

I'm trying to fetch a remote React project (that uses typescript) and bundle it with Rollup. This is my setup so far: Fetch the remote React project and store it in a temporary folder Using Rollup's ...
user15690889's user avatar
0 votes
0 answers
205 views

Fastlane uses the wrong ruby version

Unable to use fastlane android codepush and resulting this error. Expected using ruby 2.7.4 because I already set ruby path installed with rbenv but fastlane use ruby system instead which version 2.6....
Septatrivanto Wandy's user avatar
0 votes
1 answer
59 views

I am able to successfully run gem install bundler but still get "Could not find 'bundler'"

Setting up my old intel apple laptop running ventura 13.4.1, trying to create a brand new rails 7 app from scratch using ruby-3.1.3. I downloaded the latest command line tools. I run gem install ...
KSC's user avatar
  • 78
0 votes
0 answers
43 views

Webpack 5 publicPath

I have an npm package of reusable react components built on top of MUI. I am using webpack 5 as bundler. Below is part of my webpack config: module.exports = { entry: "./src/index.ts", ...
Arsany Benyamine's user avatar
0 votes
1 answer
39 views

Can I change file names before running loaders in Webpack?

I have a pattern where I have sets of files in multiple directories, for example: sampleDir12 -> index.js -> templateA.js -> templateB.js -> templateC.js Inside index.js I have: import * ...
Peter S.'s user avatar
  • 317
0 votes
1 answer
46 views

Bundler cannot find platform specific gem

I am completely new to Ruby and tasked to revive an old Ruby project. I tried looking at a Gem file and removed all version restrictions from it. When I do bundler install the first problem I run into ...
user1763590's user avatar
0 votes
0 answers
53 views

TypeError: undefined is not an object (evaluating 'global.crypto') error after bundling with Parcel

I have EXPRESS app that includes browser facing javascript files that inturn import several node packages like nodemailer and dotenv. After bundling scripts.js the browser displays an error: TypeError:...
Dennis's user avatar
  • 78
2 votes
0 answers
31 views

How do you update some variable in a bundle using webpack and Angular

We have declared a variable in a file that should be replaced by an object during compilation. declare const I18N_MAP: Record<string, string>; While bundling the files using webpack we hash ...
Yackbz's user avatar
  • 61
0 votes
0 answers
99 views

Vite HMR is not functioning as expected when utilizing npm package. However, when using code from package in application HMR operates successfully

HMR updates are not taking effect on the frontend, even though the modified module is loaded and visible in the network tab. I've developed an npm package called "ui-extension," installed it ...
hamza zahid's user avatar
0 votes
1 answer
70 views

"bundle install" CA certificates

I am attempting to create a github pages website, and it requires me to do bundle install I have tried this, and this is the error message I'm getting: Fetching source index from https://rubygems.org/...
Daycent's user avatar
  • 485
0 votes
0 answers
27 views

Output single CSS file when code splitting is enabled

I would like to use esbuild to split my bundle into smaller chunks. I can do this by using the --splitting option, however, this also splits my CSS which results in a lot of redundant code. Can I use ...
user2248702's user avatar
  • 2,859
1 vote
1 answer
34 views

I want generate a digital book from Github repository but there's a problem with my command gem or gems from Ruby on Windows 10

I want to generate a digital book from GitHub repository, but there's a problem with my command gem or gems from Ruby on Windows 10 When I want to execute for example as the repository explain to me ...
Sierpe's user avatar
  • 13
0 votes
0 answers
104 views

Getting bundler: failed to load command: shoryuken (/usr/local/bundle/bin/shoryuken)

I'm getting below error in my QA logs bundler: failed to load command: shoryuken (/usr/local/bundle/bin/shoryuken) Below is my setup information. Ruby version: ruby 3.0.3p15 Rails version: Rails 7.0.3 ...
VINAY VKK's user avatar
0 votes
1 answer
24 views

Does bundler search all branches of a repo for the commit when using `ref` option for Gemfile source?

Does bundler search within all branches of a repo for the commit when using ref option for Gemfile source? gem 'rails', github: 'rails', ref: 'a9752dcfd15bcddfe7b6f7126f3a6e0ba5927c56' As an example, ...
MicFin's user avatar
  • 2,441
0 votes
1 answer
15 views

Debugger statement inside `rubygems_plugin.rb` is not reached when running `bundle install`

While reading through RBENV's rubygems_plugin.rb file, I encountered the following line of code: if defined?(Bundler::Installer) && Bundler::Installer.respond_to?(:install) && !Bundler:...
Richie Thomas's user avatar
0 votes
2 answers
119 views

How to get mailcatcher to work with rbenv, bundler, and ruby 3.2.0?

I've completely removed rvm and installed 0.5.10 of mailcatcher. When I run mailcatcher I get the following error: .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-3.2.22.5/lib/...
mkelley33's user avatar
  • 5,403
2 votes
1 answer
2k views

How to configure Vite with index.html in public folder

In my React app that uses Vite, I want to put the index.html in a public folder. The structure looks like so: root/ ├── public/ │ └── index.html ├── index.js └── vite.config.js In index.html there ...
jz22's user avatar
  • 2,388
1 vote
0 answers
272 views

Webpack-dev-server serves files from 'public' folder, but no files are saved in the folder

I'm using webpack-dev-server to serve my project files during development, and I have configured it to serve files from a 'public' folder. However, although the server is successfully serving the ...
Ritik Jangir's user avatar
0 votes
1 answer
33 views

Currently I am learning react, trying to create react app, when I try to run "npx parcel index.html" I am getting following error [closed]

enter image description here I am getting this error please tell me where I goes wrong when I try to run command: npx parcel index.html it says are you meant to say App.js if I put it like App.js it ...
Suraksha More's user avatar
1 vote
1 answer
120 views

How can I modify font path with rollup?

I'm currently configuring rollup for my project. While dealing with assets,(font : .woff) I'm having issue cause, I can't resolve path correctly when bundling my project. my project dir looks as below....
Justin Seo's user avatar
1 vote
0 answers
171 views

need fix for Could not find gem 'google-protobuf (= 3.23.1)' with platforms 'arm64-darwin-22' in cached gems or installed locally or in gems cached i

Could not find gem 'google-protobuf (= 3.23.1)' with platforms 'arm64-darwin-22', 'x86_64-darwin-19', 'x86_64-darwin-20', 'x86_64-darwin-21', 'x86_64-darwin-22', 'x86_64-linux', 'aarch64-linux' in ...
Bobby Jones's user avatar
1 vote
0 answers
190 views

How to handle side-effects in the context of Rollup tree-shaking?

rollupjs is flagging a side effect here: renderer/Logger.ts (3:7) First side effect in renderer/Logger.ts is at (2:0) 1: import { Roarr } from "roarr"; 2: export const Logger = Roarr.child({ ...
Gajus's user avatar
  • 69.9k
0 votes
0 answers
22 views

Module Federation - Integrations

How can you integrate and leverage existing module bundlers or build systems (e.g., Webpack, Rollup) with Module Federation to create a unified and efficient build pipeline for complex applications?
Saba Shavidze's user avatar
0 votes
0 answers
76 views

How to add manually created sitemap.xml, Parcel JS and Netlify

I have a simple Javascript HTML website. I used Parcel JS for bundling and Netlify to deploy the website. Now, I want to add sitemap.xml file manually to my project. I tried creating the file using ...
praveen guda's user avatar

1
2 3 4 5
83