-
Notifications
You must be signed in to change notification settings - Fork 194
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
Uncaught TypeError: Cannot read property 'trim' of null #343
Comments
Hi, can you try the latest |
I'll give that a shot and report back, thanks. |
Thanks, I tried I'll review my config and see if I can find any issues. |
Which version of |
The version of Are you manually wiring up HMR? Are you doing any externalisation of React (as seen in the boilerplate you've based off)? |
Thanks!
My HMR and React setup is the same as in that boilerplate. I haven't dug into how its setup in detail, but I see |
How does your Webpack config look? Usually when updates are not reflected on screen it's either:
|
Very similar to: https://github.com/enuchi/React-Google-Apps-Script/blob/master/webpack.config.js
Do you know what I should/could look for in my code for this? I'm not aware of anything, but I'm not sure
This sounds like it is something worth confirming/checking. But I'm not quite sure how to go about that. This boiler plate's setup is definitely not completely standard, as it has to get React working inlined in static HTML served into an iframe.
I believe I've got this done properly. I've added it in two spots in the webpack config: https://github.com/enuchi/React-Google-Apps-Script/blob/master/webpack.config.js#L120 |
Hey @pmmmwh @alexblack, worked this out in enuchi/React-Google-Apps-Script#96 with help from #13 so might be okay to close. Edit: it's this one #334 |
Resolved upstream |
Hi, I'm trying to integrate
react-refresh-webpack-plugin
into my existing app, and after attempting to follow the setup steps, and starting my app, I get an error that looks very similar to #216My webpack.config is somewhat complex - the app is a google scripts add-on based on https://github.com/enuchi/React-Google-Apps-Script, with my react-app being inlined into some static HTML. I already have HMR working, eg if I change a file and hit save, then the app reloads with the new code, but the state is lost, so I was hoping to improve that with
react-refresh
.Thanks in advance!
The text was updated successfully, but these errors were encountered: