It tries to run the webpacker install which will do:
Installing all JavaScript dependencies [5.4.4]
run yarn add @rails/webpacker@5.4.4 from "."
yarn add v1.22.19
info No lockfile found.
[1/4] 🔍 Resolving packages...
Couldn't find any versions for "@rails/webpacker" that matches "5.4.4"
If you run
rails _6.1.7.2_ new foo -j webpack
It tries to run the webpacker install which will do:
I believe doing an
npm publish
will resolve this.