markerikson / cesium-react-webpack-demo

A sample app to demonstrate using Cesium with React and Webpack, accompanying the blog series at http://blog.isquaredsoftware.com/series/declaratively-rendering-earth-in-3d/
MIT License
49 stars 13 forks source link

Uncaught SyntaxError: Cannot use import statement outside a module #6

Closed nadavtal closed 4 years ago

nadavtal commented 4 years ago

getting this error out of the box. any idea why?

markerikson commented 4 years ago

Nope, sorry. I'd suggest updating the dependencies and trying again.

markerikson commented 4 years ago

As an additional note: I would no longer recommend trying to set up Cesium by hand as seen in this repo. Instead, I recommend:

nadavtal commented 4 years ago

Thankyou very much. Thats what im doing. Having some trouble with it though

בתאריך יום ג׳, 3 בדצמ׳ 2019, 23:13, מאת Mark Erikson ‏< notifications@github.com>:

As an additional note: I would no longer recommend trying to set up Cesium by hand as seen in this repo. Instead, I recommend:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/markerikson/cesium-react-webpack-demo/issues/6?email_source=notifications&email_token=AJEOJED4UXAMO22Y4TOWUX3QW3DZJA5CNFSM4JU2GEF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF22WAY#issuecomment-561359619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEOJEFCRHDL2EX5W7EPPILQW3DZJANCNFSM4JU2GEFQ .