我正在该应用程序中开发一个Ember应用程序
构建生产环境的应用程序在构建过程中会发出以下警告。
>>ember build --environment production
WARNING: Node v7.2.1 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js.
/ Building[WARN] `assets/vendor.js` took: 27201ms (more than 20,000ms)
cleaning up...
Built project successfully. Stored in "dist/".
File sizes:
- dist/assets/vendor-55a426e75e5239020a12bb7bfc6ffc2a.js: 759.74 KB (195.13 KB gzipped)
- dist/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css: 0 B
我想抑制这些渐弱的消息,因为我试过--silent with command。
ember build --environment production --silent
仍在接受警告:
[WARN] `assets/vendor.js` took: 27201ms (more than 20,000ms)
有人告诉我如何压制此警告或解决此问题?
操作系统:Windows 2012 R2服务器
答案 0 :(得分:3)
这是broccoli-uglify-sourcemap中的一个错误,我已经开启了一个问题来追踪&固定:
https://github.com/ef4/broccoli-uglify-sourcemap/issues/38
我发布了新版本的broccoli-uglify-sourcemap(v1.5.1),它现在遵守--silent并提供更好的警告信息。
一旦此依赖项升级,您的问题就会消失。
以下命令可用于确认您至少在v1.5.1
C.boot <- boot(df, statistic=funcHamC, R = 10, sim='parametric')
R.boot <- boot(df, statistic=funcHamR, R = 10, sim='parametric')