scalajs-react-template icon indicating copy to clipboard operation
scalajs-react-template copied to clipboard

Unable to run project

Open akarasev opened this issue 8 years ago • 3 comments

Hi,

I'm trying to run the project, but faced an issue:

[info] Running scalajsreact.template.ReactApp
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "createElement" of undefined (Lscalacss_ScalaCssReactFns$.sjsir#13)

Could you help me to fix this?

akarasev avatar Jan 18 '17 01:01 akarasev

Same error for me

christobill avatar Mar 17 '17 09:03 christobill

@akarasev You shouldn't use sbt run. See https://github.com/chandu0101/scalajs-react-template/pull/7 or https://github.com/christobill/scalajs-react-template to see how to launch with workbench.

christobill avatar Mar 17 '17 15:03 christobill

@christobill Thank you!

akarasev avatar Mar 21 '17 14:03 akarasev