hyperstack-org / hyperstack-org/hyperstack

hyper-console not working

Aperta
#188 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
538
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.