0

使用 ember cli 时,我尝试执行此操作,但文件未复制到 dist:

app.import('bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot', {
  destDir: 'fonts'
});

因此,在运行 ember 服务器时,我得到:

version: 0.1.15
Could not find watchman, falling back to NodeWatcher for file system events
Build failed.
Path or pattern "glyphicons-halflings-regular.eot" did not match any files
Error: Path or pattern "glyphicons-halflings-regular.eot" did not match any files

我究竟做错了什么?

4

1 回答 1

0

请仔细检查您的 glyphicons-halflings-regular.eot 是否存在于您的 bower_components 文件夹下。

如果那没有帮助将您的 ember-cli 和引导程序更新到最新版本可能会有所帮助

npm update ember-cli
bower update bootstrap
于 2015-03-14T07:22:41.690 回答