On Mon, Aug 3, 2020 at 21:43, Pirate Praveen <prav...@onenetbeyond.org> wrote:
This seems strange as rails metapackage has a dependency on webpack, and yarnpkg which should pull nodejs.

After skipping check for nodejs and yarn version checks in ruby-webpacker, I get this error. This looks like a bug in ruby-webpacker, it may be missing the required files in the binary package.

+ rake --trace webpacker:install
** Invoke webpacker:install (first_time)
** Invoke webpacker:check_node (first_time)
** Execute webpacker:check_node
Node.js version is v12.18.2
** Invoke webpacker:check_yarn (first_time)
** Execute webpacker:check_yarn
Yarn version is 1.22.4
** Execute webpacker:install
  identical  config/webpacker.yml
Copying webpack core config
      exist  config/webpack
  identical  config/webpack/development.js
  identical  config/webpack/environment.js
  identical  config/webpack/production.js
  identical  config/webpack/test.js
Copying postcss.config.js to app root directory
  identical  postcss.config.js
Copying babel.config.js to app root directory
  identical  babel.config.js
Copying .browserslistrc to app root directory
rails aborted!
Thor::Error: Could not find "/usr/share/rubygems-integration/all/gems/webpacker-4.2.2/lib/install/config/.browserslistrc" in any of your source paths.

Reply via email to