Closed Vheissu closed 7 years ago
The plot thickens. If I just supply a string to configPath
like it wants, so I just provide: jspm.config.js
instead, I get the following error:
SystemJS.config({
^
ReferenceError: SystemJS is not defined
at evalmachine.<anonymous>:1:1
at Object.exports.runInContext (vm.js:44:17)
at readConfig (C:\aurelia-jspm.17-skeleton\node_modules\aurelia-bundler\dist\config-serializer.js:25:6)
at getAppConfig (C:\aurelia-jspm.17-skeleton\node_modules\aurelia-bundler\dist\config-serializer.js:37:16)
at createBuildExpression (C:\aurelia-jspm.17-skeleton\node_modules\aurelia-bundler\dist\bundler.js:53:51)
at Object.bundle (C:\aurelia-jspm.17-skeleton\node_modules\aurelia-bundler\dist\bundler.js:115:25)
at _bundle (C:\aurelia-jspm.17-skeleton\node_modules\aurelia-bundler\dist\index.js:87:18)
at C:\aurelia-jspm.17-skeleton\node_modules\aurelia-bundler\dist\index.js:58:18
at Array.forEach (native)
at Object.bundle (C:\aurelia-jspm.17-skeleton\node_modules\aurelia-bundler\dist\index.js:50:25)
Changing my configuration files to just use System.
and I get a few other errors now about not being able to find dependency JSON files.
configPath: './jspm.config.js',
will get the me the following error (presumably because it needs the browser config for paths):
[11:26:52] (SystemJS) Error: ENOENT: no such file or directory, open 'C:\aurelia-jspm.17-skeleton\npm:aurelia-framework@1.0.0-beta.2.0.1.json'
at Error (native)
Error loading C:/aurelia-jspm.17-skeleton/npm:aurelia-framework@1.0.0-beta.2.0.1.json
I'm using the same version in one of my projects. For me it fails when bundling. #132
@robertsundstrom Can you help identify the problem?
Should work with the latest jspm@beta
. Closing this one.
I am seeing the following in my app:
My bundle configuration is as follows:
Even though the bundler has a check to see if it is an array, it seems to be ignored.