Webpack 问题引导Aurelia
我正在尝试使用gulpw/JSPM将一个项目转换为webpack。我把所有的配置都建立在 这是我得到的错误: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
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网页包插件更新为其最新发布版本,会发生什么情况?从看起来我已经在使用最新版本的情况来看@德韦内克·哈林顿