내 ember-cli 응용 프로그램에 포함시키려는 응용 프로그램에 로컬 javascript가 있습니다.로컬 자바 스크립트 imber-cli 응용 프로그램을 포함하는 방법
가 호출 carrotsearch.foamtree.js 위해
가 포함되도록 제가 공급하에 넣어 \ foamtree \ carrotsearch.foamtree 및 app.js에 제가
물품import CarrotSearchFoamTree from 'foamtree/carrotsearch.foamtree'
문제는 내가 문제가 어쩌면 그렇게 관련 이물 것을 생각
===== 1 JSHint Error
Build failed. ENOENT, no such file or directory 'C:\Users\davidga\Desktop\ember\nextgen\tmp\tree_merger-tmp_dest_dir-37cYqLzL.tmp\foamtree\carrotsearch.foamtree.js'
File: foamtree/carrotsearch.foamtree.js Error: ENOENT, no such file or directory C:\Users\davidga\Desktop\ember\nextgen\tmp\tree_merger-tmp_dest_dir-37cYqLzL.tmp\foamtree\carrotsearch.foamtree.js'
at Object.fs.statSync (fs.js:689:18) at addModule (C:\Users\davidga\Desktop\ember\nextgen\node_modules\ember-cli\no de_modules\broccoli-es6-concatenator\index.js:83:46) at addModule (C:\Users\davidga\Desktop\ember\nextgen\node_modules\ember-cli\no de_modules\broccoli-es6-concatenator\index.js:126:9) at C:\Users\davidga\Desktop\ember\nextgen\node_modules\ember-cli\node_modules\ broccoli-es6-concatenator\index.js:59:7 at tryCatch (C:\Users\davidga\Desktop\ember\nextgen\node_modules\ember-cli\nod e_modules\rsvp\dist\commonjs\rsvp-internal.js:163:16) at invokeCallback (C:\Users\davidga\Desktop\ember\nextgen\node_modules\ember-c li\node_modules\rsvp\dist\commonjs\rsvp-internal.js:172:17) at publish (C:\Users\davidga\Desktop\ember\nextgen\node_modules\ember-cli\node _modules\rsvp\dist\commonjs\rsvp-internal.js:150:13) at flush (C:\Users\davidga\Desktop\ember\nextgen\node_modules\ember-cli\node_m odules\rsvp\dist\commonjs\rsvp\asap.js:51:9) at process._tickCallback (node.js:419:13)
오류가 있다는 것입니다 난 뒤에 다음 포스트 how to include a private local file in javascript project using bower
문제는 어느 "foamtree"그 "foamtree/carrotsearch.foamtree.js"
도
"foamtree": "벤더/foamtree/carrotsearch.foamtree .js "
작품입니다.
어떻게해야합니까?
덕분에, 데이비드