我正在尝试Ember addon
通过在插件项目中运行 ember 服务器来测试项目。这将运行虚拟应用程序。但是,我没有使用 ember-cli-less 功能(预期/app/styles/app.less
)自动构建我的 less 文件:
我有一些文件:
/addon-project
/app
/styles
/less
app.less
/dist
/assets
dummy.js
dummy.css
/tests
/dummy
但是,当我运行 ember 服务器时出现错误:
version: 0.1.15
Could not find watchman, falling back to NodeWatcher for file system events
Livereload server on port 35730
Serving on http://0.0.0.0:4201/
File not found: /app/styles/app.less
in any of the following include paths:
/Users/me/github/ember-addons/header/tmp/tree_merger-tmp_dest_dir-qEC1hODR.tmp
Error: File not found: /app/styles/app.less