hyperstack-org / hyperstack-org/hyperstack

hyper-console not working

未关闭
#188 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
JavaScript
星标
538
派生
41
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。