You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting an error when starting Quokka on an existing React file. Its actually the boilerplate file created by create-react-app (App.js). Getting a different error when using Quokka.js New Javascript File, but I will create a new issue for that error.
create-react-app -V 2.1.5
Thank you
Sample code
importReact,{Component}from"react";importlogofrom"./logo.svg";import"./App.css";classAppextendsComponent{render(){return(<divclassName="App"><headerclassName="App-header"><imgsrc={logo}className="App-logo"alt="logo"/><p>
Edit <code>src/App.js</code> and save to reload.
</p><aclassName="App-link"href="https://reactjs.org"target="_blank"rel="noopener noreferrer">
Learn React
</a></header></div>);}}exportdefaultApp;
Sample repository link
If the issue can not be reproduced just using the quokka file above
(for example because it requires/imports some files from your project),
please create a small repository where the issue can be reproduced.
Quokka.js Console Output
Quokka 'App.js' (node: v10.13.0, babel: v7.2.2, plugins: jsdom-quokka-plugin)
Unexpected identifier
at new Script vm.js:79
at createScript vm.js:251
at Object.runInThisContext vm.js:303
at Module._compile internal/modules/cjs/loader.js:656
Code editor version
Visual Studio Code v1.? 1.32.3
Webstorm v?
Atom v1.?
OS name and version
Windows 10
OSX
Linux
The text was updated successfully, but these errors were encountered:
Thanks for the report. The issue was caused by the very recently introduced change. The issue is now fixed and the fix is published in the latest Quokka version 1.0.196.
Issue description or question
Getting an error when starting Quokka on an existing React file. Its actually the boilerplate file created by create-react-app (App.js). Getting a different error when using Quokka.js New Javascript File, but I will create a new issue for that error.
create-react-app -V 2.1.5
Thank you
Sample code
Sample repository link
If the issue can not be reproduced just using the quokka file above
(for example because it requires/imports some files from your project),
please create a small repository where the issue can be reproduced.
Quokka.js Console Output
Code editor version
Visual Studio Code v1.? 1.32.3
Webstorm v?
Atom v1.?
OS name and version
Windows 10
OSX
Linux
The text was updated successfully, but these errors were encountered: