[英]Bundling looking for text.js in dist directory
Using the gulp tasks from the yeoman generated Aurelia app I'm trying to bundle a custom application. 我正在使用yeoman生成的Aurelia应用程序中的gulp任务,我试图捆绑一个自定义应用程序。 When I run gulp bundle
the following error is reported. 当我运行gulp bundle
,报告以下错误。
Where can I find a log to help track down this file or the reference to this file? 在哪里可以找到日志来帮助跟踪此文件或对该文件的引用?
I've seen this from time to time, and it's usually an issue of the config.js
. 我不时看到这种情况,通常是config.js
的问题。 You'll want to make sure: 您需要确保:
github
, npm
, or wherever your text plugin is located is above your '*' line. github
, npm
或文本插件位于的任何位置都在“ *”行上方。 So, something like this: 因此,如下所示:
config.js config.js
paths: {
"github:*": "jspm_packages/github/*",
"npm:*": "jspm_packages/npm/*",
"*": "dist/*"
},
map: {
"text": "github:systemjs/plugin-text@0.0.4"
}
And jspm_packages/github/systemjs/plugin-text@0.0.4
exists. 并且jspm_packages/github/systemjs/plugin-text@0.0.4
存在。
If all else fails, try deleting your jspm_packages folder, and typing jspm install text
. 如果所有其他方法均失败,请尝试删除jspm_packages文件夹,然后键入jspm install text
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.