hyperstack-org / hyperstack-org/hyperstack

hyper-console not working

Đang mở
#188 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
JavaScript
Star
538
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I get an error in browser js console when using hyper-console:

uncaught exception: RuntimeError: The package ReactRailsUJS was not found. Add it to the webpack client_and_server.js manifest.

Possibly react_ujs.js is not bundled into the gem js sources (alongside react.js), and missing from hyper-cosole.min.js

also i had to change
<%= react_component '::DebugConsole', #{console_params}, { prerender: false }
to
<%= react_component 'Hyperloop::Console::DebugConsole', #{console_params}, { prerender: false }
in hyperloop_console.rb

Is this the correct direction to submit a patch?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.