我尝试使用gulp w / JSPM将项目转换为webpack。我已将所有配置基于Aurelia skeleton project on Github。
这是我得到的错误:
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.
webpack.config.js:https://pastebin.com/XQ7ZeBTJ
main.js:https://pastebin.com/Tzs24JYj
pacakge.json:https://pastebin.com/yE7tPwML
index.ejs:https://pastebin.com/GdXcEAJz
有什么建议吗?