Skip to content

Issue: app is not loaded when I deploy, but does work with HMR #206

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

Closed
timcastelijn opened this issue Jan 22, 2024 · 2 comments
Closed

Issue: app is not loaded when I deploy, but does work with HMR #206

timcastelijn opened this issue Jan 22, 2024 · 2 comments

Comments

@timcastelijn
Copy link

Hi there,

first of all, your boilerplate project is great, so thanks a lot!

I face an issue though. I am trying to import 'firebase/firestore' in my React Component files. When I include the import below, my build gets deployed as expected, but the app doesn't seem to get injected. Also I don't see any debug info.

However, when I serve the app following your guide for local development, the app gets injected as expected.

Could you help me pinpoint the issue?

thanks ans best regards,
Tim

I've isolated the issue in my codebase here:
https://github.com/timcastelijn/ReactSpreadsheets/blob/2ee968d3317600d8b384bddd396928d1c28bf848/src/client/sidebar-about-page/components/App.jsx#L3

@enuchi
Copy link
Owner

enuchi commented Jan 22, 2024

Can you review #157 and try the changes proposed in #160 ?

There seems to be an issue using firebase and other libraries that use template literals, with Google Apps Script not properly parsing them. Also discussed in #170 .

@timcastelijn
Copy link
Author

Hi @enuchi ,

Thanks for the quick response. I've tried the changes proposed in #160 and my app now loads as expected after deploying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants