-
Notifications
You must be signed in to change notification settings - Fork 59
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
Can't build for production since moment v2.25.1 released #183
Comments
I am also unable to build my application. Strangely it builds in development mode but not in test mode on circleci.
|
I've been digging into this. It appears that Terser Issue: terser/terser#684 |
Versioned in 3.8.0 |
didn't fix it for me. Neither 3.8.0 did it.
Or
|
Combining all together worked:
|
@bmaehr thanks for sharing this solution, it seems this is the only way for the time being to resolve this issue. |
It may be that you have other packages relying on the wrong version of Or it may be that this fix didn't actually fix the issue, do you have an app or branch I can take a look at to test? |
@jrjohnson Hi Johnathan. Thanks for your comment. It is actually an internal project we have. The problem is, we have many small internal ember addons, some of those addons have the ember-cli-moment-shim fixed to 3.7.1. So they don't have any hat "^". However it seems there are some other third party packages that we are using which are also using ember-cli-moment-shim and those have hat. Therefore since last week you released version 3.8.0 we are having that issue. If I use resolutions, it fixes the issue for the project (not a real fix but I can still serve it). But if I use npm link to link the other add-on to my main projects to work on those add-ons I still get the same error. |
That makes sense without the |
@jrjohnson Many thanks Johnathan, I did not know about that package. I will install it and will it a go. |
Fixing moment version on 2.24.0 helps, but it is still an issue.
adopted-ember-addons/ember-pikaday#343 (comment)
The text was updated successfully, but these errors were encountered: