We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I used the following two commands to generate a new Hello project:
Hello
mvn org.apache.maven.plugins:maven-dependency-plugin:get \ -DrepoUrl=https://repo.vertispan.com/j2cl/ \ -Dartifact=com.vertispan.j2cl.archetypes:j2cl-archetype-simple:0.20
and
mvn archetype:generate -DarchetypeGroupId=com.vertispan.j2cl.archetypes \ -DarchetypeArtifactId=j2cl-archetype-simple \ -DarchetypeVersion=0.20
And then I ran the project using:
mvn j2cl:build mvn jetty:run
After I opened http://localhost:8080, I got this error from browser console:
caught TypeError: Cannot read properties of null (reading 'appendChild') at w (hello.js:7:875) at hello.js:7:912
I guessed the default .native.js provided had some issues?
.native.js
The text was updated successfully, but these errors were encountered:
@jiakuan thanks for your report. We should fix it ... The problem is: js loads before body is created, to fix you can modify html like this:
<script language='javascript' src='application.js' defer></script>
Sorry, something went wrong.
No branches or pull requests
I used the following two commands to generate a new
Hello
project:and
And then I ran the project using:
After I opened http://localhost:8080, I got this error from browser console:
I guessed the default
.native.js
provided had some issues?The text was updated successfully, but these errors were encountered: