-
Notifications
You must be signed in to change notification settings - Fork 45
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 #89
Comments
@yandiro Issue is related to ember-cli-moment-shim package. If this upgraded to v3.8.0, then issue will be resolved ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could not build the ember app for production with
npm run build
with ember-fullcalendar installed.Here is the log:
`=================================================================================
ENV Summary:
TIME: Tue Jan 11 2022 12:00:20 GMT+1030 (Australian Central Daylight Time)
TITLE: ember
ARGV:
EXEC_PATH: /usr/bin/node
TMPDIR: /tmp
SHELL: /usr/bin/zsh
PATH:
PLATFORM: linux x64
FREEMEM: 8806834176
TOTALMEM: 20792758272
UPTIME: 2084.84
LOADAVG: 1.13,1.29,1.38
CPUS:
ENDIANNESS: LE
VERSIONS:
ERROR Summary:
at js_error (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:548:11)
at croak (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1272:9)
at token_error (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1280:9)
at unexpected (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1286:9)
at block_ (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:2169:28)
at statement (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1401:29)
at embed_tokens_wrapper (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1337:26)
at if (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:2153:44)
at statement (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1471:24)
at _embed_tokens_wrapper (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1337:26)
at TerserWriter
-
- created here: --at new Plugin (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/broccoli-plugin/dist/index.js:47:36)
at new TerserWriter (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/index.js:30:5)
at Class.postprocessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli-terser/index.js:61:14)
at /home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/utilities/addon-process-tree.js:6:25
at Array.reduce ()
at addonProcessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/utilities/addon-process-tree.js:4:32)
at EmberApp.addonPostprocessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/broccoli/ember-app.js:842:12)
at EmberApp.host.addonPostprocessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-auto-import/js/auto-import.js:103:20)
at EmberApp.toTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/broccoli/ember-app.js:1665:17)
at EmberApp.appInstance.toTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-validators/node_modules/@embroider/macros/src/ember-addon-main.js:48:35)
-
- (end) --at TerserWriter
-
- created here: --at new Plugin (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/broccoli-plugin/dist/index.js:47:36)
at new TerserWriter (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/index.js:30:5)
at Class.postprocessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli-terser/index.js:61:14)
at /home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/utilities/addon-process-tree.js:6:25
at Array.reduce ()
at addonProcessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/utilities/addon-process-tree.js:4:32)
at EmberApp.addonPostprocessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/broccoli/ember-app.js:842:12)
at EmberApp.host.addonPostprocessTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-auto-import/js/auto-import.js:103:20)
at EmberApp.toTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-cli/lib/broccoli/ember-app.js:1665:17)
at EmberApp.appInstance.toTree (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/ember-validators/node_modules/@embroider/macros/src/ember-addon-main.js:48:35)
-
- (end) --at js_error (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:548:11)
at croak (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1272:9)
at token_error (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1280:9)
at unexpected (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1286:9)
at block_ (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:2169:28)
at statement (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1401:29)
at embed_tokens_wrapper (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1337:26)
at if (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:2153:44)
at statement (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1471:24)
at _embed_tokens_wrapper (/home/username/git/myapp/myapp-app/client/myapp-app/node_modules/broccoli-terser-sourcemap/node_modules/terser/dist/bundle.min.js:1337:26)
=================================================================================
`
The text was updated successfully, but these errors were encountered: