We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf31fb1 commit e7ac985Copy full SHA for e7ac985
lib/generators/inertia/install/install_generator.rb
@@ -265,7 +265,7 @@ def vite_tag
265
266
def inertia_resolved_version
267
@inertia_resolved_version ||= Gem::Version.new(
268
- `npm show @inertiajs/core@#{options[:inertia_version]} version`.strip
+ `npm show @inertiajs/core@#{options[:inertia_version]} version --json | tail -n2 | head -n1 | tr -d '", '`.strip
269
)
270
end
271
0 commit comments