Warning when registering plugin using baseDir if broccoli-rollup is installed
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- build-system
调研方向
在安装了 broccoli-rollup 的情况下,使用 preprocess-rollup 插件中的 setupPreprocessorRegistry 示例复现该警告,然后运行 ember serve。跟踪预处理期间如何处理 baseDir 注册,并验证在不移除 baseDir 或 broccoli-rollup 的情况下警告会消失。
由索引模型根据 Issue 内容生成。
描述
When attempting to add a plugin
setupPreprocessorRegistry(type, registry) {
registry.add('htmlbars-ast-plugin', {
baseDir() {
return __dirname;
},
});
},
if broccoli-rollup is installed then when running ember serve I get the message:
Warning: failed to stat /preprocess-rollup/node_modules/broccoli-rollup/tmp/rollup-input_base_path-6obEeBLr.tmp/0
If I remove broccoli-rollup or remove the baseDir
setupPreprocessorRegistry(type, registry) {
registry.add('htmlbars-ast-plugin', {});
},
Then no warning is printed.
This is reproducible in a brand new addon like https://github.com/jrjohnson/preprocess-rollup (addon doesn't do anything and the plugin itself won't work since it doesn't exist, bu the message is obvious.
I'm running into this while working on https://github.com/FortAwesome/ember-fontawesome/pull/21
- 主要语言
- JavaScript
- 星标
- 77
- 派生
- 65
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ember-cli/ember-cli-htmlbars 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
ember-cli/ember-cli-htmlbars#792 ·
-
难度 4/5 3-5 天 新手友好度 35/100
ember-cli/ember-cli-htmlbars#787 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
ember-cli/ember-cli-htmlbars#781 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
ember-cli/ember-cli-htmlbars#779 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
ember-cli/ember-cli-htmlbars#774 · 2 条评论 ·
查看 ember-cli/ember-cli-htmlbars 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 72/100
nishantwrp/gsoc-organizations#213 ·
-
Price: 75 USD Priority: 2 (Medium) Time: <1 Hour
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
resend/resend-skills#144 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
ScottKirvan/Smokey#33 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
openai/codex-plugin-cc#798 ·
维护者通常 2 天内回复