webpacker Questions
2
Summary
When we switched to using Webpack for handling our SASS files, we noticed that our build times in some cases became really slow. After measuring the performance of different parts of the b...
Supernova asked 22/5, 2019 at 17:32
4
Solved
I'm trying to use scss in my rails application, configured by webpacker. Whenever I run rails webpacker:compile, I get the following error:
ERROR in ./app/javascript/stylesheets/application.scss
Mo...
Breaststroke asked 15/2, 2021 at 22:10
6
Solved
I'm a bit stumped. My local rails app works great with webpacker 4.2 and react, but when deploying to production gives me the wonderful can't find application in /app/public/packs/manifest.json err...
Jodi asked 3/12, 2019 at 16:15
1
I'm learning React.js with Rails 4.2 (to prepare to work on it) but I have a lot of errors in my console.
So I'm using React 16.8 (with react-rails gem) + Rails 4.2 + Webpacker 4.0.2
My folders s...
Samella asked 28/4, 2019 at 15:7
3
I'm using @storybook/vue": "^6.5.10". My components are styled by the <style> block in the bottom of each .vue file. There are also some global CSS (Sass) files that are compil...
1
Getting this error in rails 6, in rails 5 it was a easy fix after updating the application to rails 6, including webpack this error is appear every where I try to close the model inside the js.erb ...
Twombly asked 13/6, 2020 at 11:59
12
Solved
I think this should be simple, but I am facing some trouble on how to import and use an image in Vue single file component. Can someone help me how to do this? Here is my code snippet:
<template...
2
Solved
I am using Rails 6.0.3.2, ruby 2.7.1, yarn 1.22.0.
I am trying to do normal UJS stuff, and this is the error I am getting:
VM125:1 Uncaught ReferenceError: $ is not defined
at <anonymous>:1:...
Barram asked 17/7, 2020 at 2:44
12
Webpacker::Manifest::MissingEntryError in Home#index
Showing /Users/khalidhosein/Desktop/myEPKmedia/builder/khalid101/app/views/layouts/embedded_app.html.erb where line #7 raised:
Webpacker can't...
Genitalia asked 9/1, 2019 at 15:14
2
Solved
I am currently building a Ruby on Rails Webpacker application with a React front end. I am at the point where I would like to create all the quires I need to make calls to my Rails API. I was loose...
Harding asked 23/6, 2021 at 18:0
5
env
Rails 6.0.0
Ruby 2.6.0
Amazon Linux2
What
When I deploy my rails app this error happen
ActionView::Template::Error (Webpacker can't find application in /home/web/www/eloop-regular/public/pack...
Directly asked 23/10, 2019 at 10:6
1
Solved
I am getting the following error while running my Ruby on rails 6 app on locale (Ubuntu 18.04 using chrome):
Uncaught (CardanoSerializationLib.ts:15 in promise) CompileError: WebAssembly.instantiat...
Protozoan asked 7/5, 2022 at 23:31
2
Solved
I am a new to rails and struggling to get Jquery and Bootstrap to work with Rails 6. I think it has something to do with switching the app from rails 5 to rails 6 and using webpacker to load Jquery...
Jess asked 9/11, 2019 at 15:33
6
I wanted to use Bootstrap icons in beta "Official open source SVG icon library for Bootstrap." https://icons.getbootstrap.com/. This is for Bootstrap 4 in Rails 6.
I tried various imports and incl...
Furthest asked 17/3, 2020 at 17:36
1
I realise there is some debate about using webpacker in Rails engines but I have a simple usecase and currently have a workaround. Would like to know of a better (the best?) solution.
In this rail...
Caressive asked 18/12, 2017 at 21:11
4
I'm having an issue with webpacker on my rails app. Seems to be missing a application.css from the manifest.json file in /app/public/packs/manifest.json.
I think my manifest.json is not accurate an...
Clayberg asked 23/1, 2021 at 11:51
3
Solved
I have a project that I've recently upgraded to rails 5.2, and I'm using the webpacker gem. I get the following error trying to deploy to Heroku:
...
remote: Webpacker is installed 🎉 🍰
remote: U...
Bedclothes asked 27/9, 2018 at 15:22
4
I'm trying to install Webpacker to be able to launch a Yarn server. I'm on Rails 5 and the gem is installed.
When I run
bundle exec rails webpacker:install
I get:
>> rails aborted!
Don't kno...
Clevelandclevenger asked 2/12, 2017 at 7:54
3
Solved
[Webpacker] Compiling…
It takes several seconds (6.2 seconds) to compile any of my changes to javascript files. It's really slowing my JS development down.
Is there any way to see what Webpacker...
Behl asked 11/9, 2018 at 18:8
4
Solved
I am using Webpacker with rails 5.1.4 to play with React, Redux, and react-router-dom.
I have a Navbar.jsx component in app/javascript/src/components/ that needs to display an image, but I am not a...
Yeasty asked 20/10, 2017 at 7:46
5
Solved
My question here is the same as Using Rails 3.1, where do you put your "page specific" JavaScript code?, just for Rails 6 instead of Rails 3.1.
Suppose I have some JavaScript that I want...
Matlick asked 26/12, 2019 at 21:49
2
I'm setting up my Storybook instance to load the styles from my Rails app but it failed to load the imports within my main.scss file, both are stylesheets from node_modules:
@import 'react-table/r...
Undersea asked 28/2, 2020 at 4:28
1
in my Rails 6 project, i added jQuery pushMenu with
yarn add push-menu
from https://www.npmjs.com/package/push-menu
Now i can see this in node-modules folder, as push-menu. however, when i ...
Thallium asked 17/6, 2019 at 9:49
5
Solved
I know its simple but with update of rails 6. there is new syntax in rails 6 for manage javascript assets which is maintained by webpacker.
//application.js
require("@rails/ujs") //.start()
requir...
Smokeproof asked 27/2, 2019 at 12:0
4
Solved
I have a typical rails 6.0.2 app set up on a production server and I'm using git hooks to deploy the app. When I try to run: rails assets:precompile I get the following error:
rake aborted!
Sprock...
Oloroso asked 13/2, 2020 at 20:36
1 Next >
© 2022 - 2024 — McMap. All rights reserved.