-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
Demo App Fails Webpack Build #101
Comments
I should also add that I installed kepler.gl via |
Seeing |
Thanks Chris, it does seem like a webpack configuration issue. I am able to get the demo app up and running through a git clone of this repository, but not if I install kepler.gl using npm. When I installed it using npm, I navigated into the It seems like that is not the preferred way to run the example project, so to anyone else who encounters this issue, I would recommend using the git clone method described in the setup link that Chris shared. Though it's probably worth leaving this issue open until you can run the example after an npm install? |
I see the issue now.
This is generally not supported. In fact, the npm package should not include the I believe the bug here is that the package actually includes We can do this by adding an Agreed to leave this open until it's addressed. |
Makes sense, thanks for your help! |
@MattSkewbie, the demo-app is not supposed to be run inside |
@heshan0131, thanks! I understand the paradigm now, my mistake. |
@heshan0131 @MattSkewbie @chrisirhc @maryzam Hello, like the previous comments I tried to build the application by changing the files package.json & webpack of the example "custom-reducer", although I get to create the build file, it does not seem to call the respective file. I think the bundle.js.map file is also missing, I do not know how to create https://github.com/roqueleal/roqueleal.github.io/tree/master/chile https://github.com/roqueleal/roqueleal.github.io/tree/master/chile Thanks for your comments |
Hello, @roqueleal! I quickly checked your repo and found at least one problem: there is no .babelrc file with list of presets to compile source core based on React correctly. Also, bundle.js.map is a file you need only for debugging compiled script and it'll be generated automatically by webpack if you add devtool:'source-map' to the webpack.config (see the original example). But this file does not affect tthe application running or not. |
It looks like the official example works fine. I am gonna close this one. |
Hi, I am running into a webpack issue trying to run the demo-app on RHEL with node v8.9.4:
it seems that Thanks for any hints! |
@julianheinrich I'm running into the same issue. The The problem is that
in |
Thanks for the hint. If someone finds this thread, the README in the examples is somewhat misleading. I was able to run it by issuing |
I'm currently unable to build the demo-app project in the /examples directory. Following the included readme, I ran
npm install
followed bynpm start
, but I'm receiving the following output. Any ideas? I'm not particularly well-versed in React, so am I missing something obvious?The text was updated successfully, but these errors were encountered: