Save 36% for Black Friday! Learn more

Cloud

Joined

100 Experience
0 Lessons Completed
0 Questions Solved

Activity

In index.html.erb I have =javascript_pack_tag 'javascriptNamePackage' which render entire api json file and ignore all javascript package and everything..

If someone have idea what am I doing wrong I will be gratefull if you help me.

Tnx in advance!

I have webpacker gem and yarn gem.. and I'm stuck with this error: (help please :))
# console
$ bin/rails webpacker:install
rails aborted!
ArgumentError: Malformed version number string Yarn v0.1.1 2011 Jesper Kjeldgaard
/path/to/project/bin/rails:9:in `<top (required)>'
/path/to/project/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
Tasks: TOP => webpacker:install => webpacker:check_yarn
(See full trace by running task with --trace)

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.