灰烬构建失败。缺少ember-network / assets / module-template.js.t

时间:2017-04-17 08:36:17

标签: javascript ember.js ember-cli broccolijs

正如人们在标题中看到的那样,我有camera.setDisplayOrientation(90);失败,我再次不知道这次问题是什么。我甚至不知道ember build甚至是什么,或者为什么它需要module-template.js.t文件。

ember-network

的package.json

[folatt@ArkOS-Dev genesis]$ ember build
WARNING: Node v7.7.3 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js.                                                                                                                                               
cleaning up...
Build failed.
The Broccoli Plugin: [object Object] failed with:
Error: ENOENT: no such file or directory, stat '/home/folatt/workspace/arkos/genesis/node_modules/ember-network/assets/module-template.js.t'
    at Object.fs.statSync (fs.js:967:11)
    at Template.currentTemplateFile (/home/folatt/workspace/arkos/genesis/node_modules/broccoli-templater/index.js:22:18)
    at Template.processAndCacheFile (/home/folatt/workspace/arkos/genesis/node_modules/broccoli-templater/index.js:45:27)
    at /home/folatt/workspace/arkos/genesis/node_modules/broccoli-templater/node_modules/broccoli-filter/index.js:43:23
    at /home/folatt/workspace/arkos/genesis/node_modules/promise-map-series/index.js:11:14
    at tryCatch (/home/folatt/workspace/arkos/genesis/node_modules/rsvp/dist/rsvp.js:539:12)
    at invokeCallback (/home/folatt/workspace/arkos/genesis/node_modules/rsvp/dist/rsvp.js:554:13)
    at /home/folatt/workspace/arkos/genesis/node_modules/rsvp/dist/rsvp.js:629:16
    at flush (/home/folatt/workspace/arkos/genesis/node_modules/rsvp/dist/rsvp.js:2414:5)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)

The broccoli plugin was instantiated at: 
undefined

1 个答案:

答案 0 :(得分:0)

ember install ember-network

无论出于何种原因yarn未完全安装ember-network