Ember:brocolli插件因快速入门而失败

时间:2017-10-26 13:41:36

标签: javascript node.js windows ember.js

enter image description here

我试图在https://guides.emberjs.com/v2.16.0/getting-started/quick-start/运行ember快速入门。我使用gchar-bash作为win7中的终端使用pycharm 2017。我安装了npm,node和ember。在pycharm我的项目看起来像截图。我可以轻松地在USB密钥(E :)上运行所有内容。

E:nodejs上的便携式节点文件夹如下所示:

enter image description here

我已将npm前缀设置为

$ npm config set prefix E:/nodejs

按照我的指示:

$ ember serve

Running without permission to symlink will degrade build performance.
See http://ember-cli.com/user-guide/#windows for details.

The Broccoli Plugin: [ConfigReplace] failed with:
Error: EISDIR: illegal operation on a directory, symlink 'E:\ENVS\js\ember-quickstart\app' -> 'E:\ENVS\js\ember-quickstart\tmp\funnel-input_base_path-Vke3ntid.tmp'
    at Object.fs.symlinkSync (fs.js:961:18)
    at symlinkWindows (E:\ENVS\js\ember-quickstart\node_modules\symlink-or-copy\index.js:123:18)
    at symlinkOrCopySync (E:\ENVS\js\ember-quickstart\node_modules\symlink-or-copy\index.js:63:5)
    at E:\ENVS\js\ember-quickstart\node_modules\broccoli-plugin\read_compat.js:86:11
    at tryCatch (E:\ENVS\js\ember-quickstart\node_modules\rsvp\dist\rsvp.js:525:12)
    at invokeCallback (E:\ENVS\js\ember-quickstart\node_modules\rsvp\dist\rsvp.js:538:13)
    at publish (E:\ENVS\js\ember-quickstart\node_modules\rsvp\dist\rsvp.js:508:7)
    at flush (E:\ENVS\js\ember-quickstart\node_modules\rsvp\dist\rsvp.js:2415:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

The broccoli plugin was instantiated at:
    at ConfigReplace.Plugin (E:\ENVS\js\ember-quickstart\node_modules\broccoli-plugin\index.js:7:31)
    at new ConfigReplace (E:\ENVS\js\ember-quickstart\node_modules\broccoli-config-replace\index.js:13:10)
    at EmberApp.index (E:\ENVS\js\ember-quickstart\node_modules\ember-cli\lib\broccoli\ember-app.js:756:12)
    at EmberApp.toArray (E:\ENVS\js\ember-quickstart\node_modules\ember-cli\lib\broccoli\ember-app.js:1784:12)
    at EmberApp.toTree (E:\ENVS\js\ember-quickstart\node_modules\ember-cli\lib\broccoli\ember-app.js:1809:32)
    at module.exports (E:\ENVS\js\ember-quickstart\ember-cli-build.js:24:14)
    at Builder.setupBroccoliBuilder (E:\ENVS\js\ember-quickstart\node_modules\ember-cli\lib\models\builder.js:56:19)
    at new Builder (E:\ENVS\js\ember-quickstart\node_modules\ember-cli\lib\models\builder.js:30:10)
    at ServeTask.run (E:\ENVS\js\ember-quickstart\node_modules\ember-cli\lib\tasks\serve.js:24:55)
    at Promise.resolve.then (E:\ENVS\js\ember-quickstart\node_modules\ember-cli\lib\models\command.js:243:46)

我怎样才能使这个工作?

0 个答案:

没有答案