You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing the task webpacker:install, the task does not install the webpacker version specified on your Gemfile, but instead, installs the last version, which in some cases, breaks the functionality:
if Webpacker::VERSION =~ /^[0-9]+\.[0-9]+\.[0-9]+$/
say "Installing all JavaScript dependencies [#{Webpacker::VERSION}]"
run "yarn add @rails/webpacker"
The printed message is missleading, as it says that will install the javascript dependencies for your Webpacker::VERSION, but then, it just goes and does a yarn add webpacker that will install the last available version.
The command should always respect the specified version, to prevent breaking environments.
I will open a Pull Request to fix this issue.
Regards,
David.
The text was updated successfully, but these errors were encountered:
Hi,
When executing the task
webpacker:install
, the task does not install the webpacker version specified on your Gemfile, but instead, installs the last version, which in some cases, breaks the functionality:The printed message is missleading, as it says that will install the javascript dependencies for your
Webpacker::VERSION
, but then, it just goes and does ayarn add webpacker
that will install the last available version.The command should always respect the specified version, to prevent breaking environments.
I will open a Pull Request to fix this issue.
Regards,
David.
The text was updated successfully, but these errors were encountered: