Open aman-adriano opened 4 years ago
I had the same issue. The root cause of it was the recently released moment v2.25.1 package. Workaround was to pin moment to v2.24.0 (yarn resolution worked for me).
thanks @sbflynn
Is momentjs is a dependency of ember-pikaday through ember-cli-moment-shim? I don't see it in pikaday's depencies. Glad to know I'm not the only one having this issue.
This should be fixed with the release of ember-moment-shim
v3.8.0
which no longer double minifies code from moment.
I got this error when building for productiong (ember b --prod):
Build Error (UglifyWriter)
Unexpected token: eof (undefined)
Here's the full error log :+1:
ENV Summary:
TIME: Mon May 04 2020 11:38:57 GMT+0800 (Philippine Standard Time) TITLE: ember ARGV:
ERROR Summary:
=================================================================================
My env info: ember-cli: 3.15.2 node: 10.13.0 os: linux x64
It builds normally when I removed this addon.
Thanks