Skip to content
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

Moment-timezone is undefined #1266

Closed
sallu-tech opened this issue Mar 7, 2020 · 3 comments
Closed

Moment-timezone is undefined #1266

sallu-tech opened this issue Mar 7, 2020 · 3 comments

Comments

@sallu-tech
Copy link

Everything works fine but when I click on "Edit Profile" and navigate to Availability section below Pricing, it gives me a very strange error: TypeError: moment_timezone_builds_moment_timezone_with_data_10_year_range_min__WEBPACK_IMPORTED_MODULE_1___default(...)(...).clone(...).tz(...) is undefined
I am stuck on this for over a week now and can't find a solution. :(

@OtterleyW
Copy link
Contributor

@sallu-tech we don't use moment-timezone library in ftw-daily so I'm assuming that the issue is actually related to ftw-hourly instead.

However, you should make sure that you have moment-timezone in your package.json file (see https://github.com/sharetribe/ftw-hourly/blob/c4766c47b82ed2f9b6eae9c2c87bea4af410d63b/package.json#L35) and that you have installed it with e.g. running yarn install. Based on the error message it seems that for some reason moment-timezone/builds/moment-timezone-with-data-10-year-range.minfile doesn't exist.

@sallu-tech
Copy link
Author

sallu-tech commented Mar 11, 2020 via email

@OtterleyW
Copy link
Contributor

@sallu-tech We haven't been able to reproduce the issue so it seems likely that the problem is in your send. If you need support with your customization project I suggest you contact our support team through the chat widget in your Console or through email hello@sharetribe.com (if you haven't already done that).

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