Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Webpack 问题引导Aurelia_Webpack_Aurelia - Fatal编程技术网

Webpack 问题引导Aurelia

Webpack 问题引导Aurelia,webpack,aurelia,Webpack,Aurelia,我正在尝试使用gulpw/JSPM将一个项目转换为webpack。我把所有的配置都建立在 这是我得到的错误: Warning: a promise was rejected with a non-error: [object String] at createLoader (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12324:18) at http://localhost:8080/app.e166274c9bde327

我正在尝试使用gulpw/JSPM将一个项目转换为webpack。我把所有的配置都建立在

这是我得到的错误:

Warning: a promise was rejected with a non-error: [object String] at createLoader 
(http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12324:18)
at http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12379:12
From previous event:
at run (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12375:24)
at Object.<anonymous> (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12402:1)
at Object.136 (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12403:30)
at __webpack_require__ (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:50:30)
at Object.210 (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:29505:18)
at __webpack_require__ (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:50:30)
at 0.module.exports.ctor.super_ (http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:148:18)
at http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:151:10

Unhandled rejection No PLATFORM.Loader is defined and there is neither a System API (ES6) or a Require API (AMD) globally available to load your app.
警告:createLoader拒绝了承诺,但出现了非错误:[对象字符串]
(http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12324:18)
在http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12379:12
从以前的事件:
在逃(http://localhost:8080/app.e166274c9bde327af4ef.bundle.js:12375:24)
反对

main.js:

pacakge.json:

index.ejs:


有什么建议吗?

你能分享你的
package.json
文件以及
index.html
index.ejs
文件吗?你提供的东西有点难以辨别问题所在。嘿@DwayneCharrington我为你添加了这些文件。谢谢谢谢@m0ngr31你能帮我试试吗。如果您将
html网页包插件更新为其最新发布版本,会发生什么情况?从看起来我已经在使用最新版本的情况来看@Dwaynecharrington您可以分享您的
package.json
文件以及
index.html
index.ejs
文件吗?你提供的东西有点难以辨别问题所在。嘿@DwayneCharrington我为你添加了这些文件。谢谢谢谢@m0ngr31你能帮我试试吗。如果您将
html网页包插件更新为其最新发布版本,会发生什么情况?从看起来我已经在使用最新版本的情况来看@德韦内克·哈林顿