2017-04-13 5 views
0

Heroku에서 ember 응용 프로그램을 배포하는 동안이 문제가 발생합니다. ember 빌드가 내 지역에서 일하고 있습니다. 나는 npm과 bower 캐시를 지우려고했으나 여전히 운이 없다.Heroku에서 ember 응용 프로그램 배포

ember-cli : 2.9.1 
    node : 6.10.1 
    npm : 3.10.10 
    bower : 1.8.0 

자식 푸시 엠버 - CLI-build.js에서 Heroku가 마스터

remote: DEPRECATION: Overriding init without calling this._super is deprecated. Please call `this._super.init && this._super.init.apply(this, arguments);` addon: `ember-cli-htmlbars` 
remote:  at Function.Addon.lookup (/tmp/build_f0a1863f911e012b791218614939ef87/node_modules/ember-cli/lib/models/addon.js:1005:27) 
remote: WARNING: Node v7.9.0 has currently not been tested against Ember CLI and may result in unexpected behaviour. 
remote: Could not start watchman; falling back to NodeWatcher for file system events. 
remote: Visit http://ember-cli.com/user-guide/#watchman for more info. 
remote: cleaning up... 
remote: Build failed. 
remote: File: assets/vendor.css 
remote: The Broccoli Plugin: [broccoli-persistent-filter:CleanCSSFilter] failed with: 
    remote: Error: Broken @import declaration of "theme.css" 
    remote: Broken @import declaration of "accordion.css" 
    remote: Broken @import declaration of "autocomplete.css" 
    remote: Broken @import declaration of "button.css" 
    remote: Broken @import declaration of "datepicker.css" 
    remote: Broken @import declaration of "dialog.css" 
    remote: Broken @import declaration of "draggable.css" 
    remote: Broken @import declaration of "menu.css" 
    remote: Broken @import declaration of "progressbar.css" 
    remote: Broken @import declaration of "resizable.css" 
    remote: Broken @import declaration of "selectable.css" 
    remote: Broken @import declaration of "selectmenu.css" 
    remote: Broken @import declaration of "sortable.css" 
    remote: Broken @import declaration of "slider.css" 
    remote: Broken @import declaration of "spinner.css" 
    remote: Broken @import declaration of "tabs.csError running: ember build --environment production 2>&1 
    remote: s" 
    remote: Broken @import declaration of "tooltip.css" 
    remote:  at arrayToError (/tmp/build_f0a1863f911e012b791218614939ef87/node_modules/array-to-error/index.js:45:15) 
    remote:  at minifyCallback (/tmp/build_f0a1863f911e012b791218614939ef87/node_modules/clean-css-promise/index.js:33:20) 
    remote:  at module.exports (/tmp/build_f0a1863f911e012b791218614939ef87/ember-cli-build.js:23:14) 
    remote:  at Class.setupBroccoliBuilder (/tmp/build_f0a1863f911e012b791218614939ef87/node_modules/ember-cli/lib/models/builder.js:70:19) 
    remote: 
    remote: 
    remote: -----> Failed trying to compile heroku/ember-cli-deploy 
    remote: !  Push rejected, failed to compile emberjs app. 
    remote: 
    remote: !  Push failed 
+0

짓을 요 로컬 7.9 노드를 사용하여 시도하고 생산 빌드를 실행 해 봤어? –

+0

이것에 대한 해결책이 있습니다 : –

답변

0
ember install ember-cli-jquery-ui 

은 아래 라인을 추가

var app = new EmberApp(defaults, { 
    minifyCSS: { 
    options: { 
     processImport: false 
    } 
    } 
}); 
ember build --environment production 
+0

설명해 주시겠습니까? – rjdkolb

+0

@rjdkolb 다음을 확인하십시오. https://github.com/ember-cli/ember-cli-preprocessor-registry/issues/8 –