Sigfrid Dusci
Joined
Activity
Any idea how to handle that?
I have the same issue with RSpec :(
Hi there,
What is stylesheet_pack_tag
really for in Rails 6? I mean if you import your styles in packs/application.js
as done in this episode, webpack doesn't generate any css file. Moreover if you inspect your HTML there is no reference to css file neither.
I have done teh same in a sample app, without including stylesheet_pack_tag
and the styles are anyway applied to the view.
This is making me very confused,
Posted in New Project Rails 6 rc1 or 5.2.3?
Thanks.
This may be useful for others: https://github.com/rails/webpacker/issues/2114
Posted in New Project Rails 6 rc1 or 5.2.3?
@Chris what version or Rails and Webpacker are you using? I have a hard time make Rails 6 rc1 + Webpacker 4.0,6 work.
When I run my app I get the following error
decode.js:32 Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
at Module.<anonymous> (decode.js:32)
at Module../node_modules/querystring-es3/decode.js (decode.js:88)
at __webpack_require__ (bootstrap:19)
at Object../node_modules/querystring-es3/index.js (index.js:3)
at __webpack_require__ (bootstrap:19)
at Object.<anonymous> (client:6)
at Object../node_modules/webpack-dev-server/client/index.js?http://localhost:3035 (client:337)
at __webpack_require__ (bootstrap:19)
at Object.0 (log.js:47)
at __webpack_require__ (bootstrap:19)
Cheers!
I have created a new Rails 6 (rc1) with the latets version of webpacker (4.0.6) and when I run my app I get the following error
decode.js:32 Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
at Module.<anonymous> (decode.js:32)
at Module../node_modules/querystring-es3/decode.js (decode.js:88)
at __webpack_require__ (bootstrap:19)
at Object../node_modules/querystring-es3/index.js (index.js:3)
at __webpack_require__ (bootstrap:19)
at Object.<anonymous> (client:6)
at Object../node_modules/webpack-dev-server/client/index.js?http://localhost:3035 (client:337)
at __webpack_require__ (bootstrap:19)
at Object.0 (log.js:47)
at __webpack_require__ (bootstrap:19)
Anyone else have expirienced the same issue?
Cheers,
Sig