aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Bundler not working with TypeError: Cannot read property 'file:///X' of undefined #136

Closed wegorich closed 7 years ago

wegorich commented 8 years ago

It's seems an BUG in 'aurelia-bundler' module. I have the setup:

bunder.js

module.exports = {
    "bundles": {
        "dist/app-bundle": {
            "includes": [
                "[*.js]",
                "[*/**/*.js]",
                "**/*.html!text",
                "**/*.css!text",
                "**/*.js.map!text"
            ],
            "options": {
                "inject": true,
                "minify": true,
                "depCache": true,
                "rev": true
            }
        },
        "dist/aurelia-bundle": {
            "includes": [
                "aurelia-framework",
                "aurelia-bootstrapper",
                "aurelia-fetch-client",
                "aurelia-router",
                "aurelia-animator-css",
                "aurelia-templating-binding",
                "aurelia-polyfills",
                "aurelia-templating-resources",
                "aurelia-templating-router",
                "aurelia-loader-default",
                "aurelia-history-browser",
                "aurelia-logging-console",
                "aurelia-i18n",
                "aurelia-validation",
                "aurelia-validation/resources/en-US"
            ],
            "options": {
                "inject": true,
                "minify": true,
                "depCache": false,
                "rev": true
            }
        }
    }
};

tasks/bundle.js - the gulp task

var bundler = require('aurelia-bundler');
var bundles = require('../bundles.js');

var config = {
    force: true,
    baseURL: './',
    configPath: './config.js',
    bundles: bundles.bundles
};

gulp.task('bundle', ['build'], function() {
    return bundler.bundle(config);
});

The build task works well it just put build files to dist folder. Each time I run gulp bundle I received the error message.

[21:10:21] 'bundle' errored after 426 ms
[21:10:21] Error on fetch for npm:aurelia-framework@1.0.0-rc.1.0.0.js at file:///Users/macbook/sandbox/app/jspm_packages/npm/aurelia-framework@1.0.0-rc.1.0.0.js
    TypeError: Cannot read property 'file:///Users/macbook/sandbox/app/jspm_packages/npm/aurelia-framework@1.0.0-rc.1.0.0.js' of undefined
    at /Users/macbook/sandbox/app/node_modules/systemjs/dist/system.src.js:3377:23
    at /Users/macbook/sandbox/app/node_modules/systemjs/dist/system.src.js:3696:18
    at /Users/macbook/sandbox/app/node_modules/systemjs/dist/system.src.js:4088:18
    at /Users/macbook/sandbox/app/node_modules/systemjs/dist/system.src.js:4551:22
    at /Users/macbook/sandbox/app/node_modules/systemjs/dist/system.src.js:4820:20
    at cachedFetch (/Users/macbook/sandbox/app/node_modules/systemjs-builder/lib/builder.js:178:40)
    at SystemJSNodeLoader.<anonymous> (/Users/macbook/sandbox/app/node_modules/aurelia-bundler/dist/bundler.js:75:14)
    at SystemJSNodeLoader.loader.fetch (/Users/macbook/sandbox/app/node_modules/systemjs-builder/lib/builder.js:196:44)
    at /Users/macbook/sandbox/app/node_modules/systemjs-builder/lib/trace.js:434:12
    at tryCatcher (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/promise.js:504:31)
    at Promise._settlePromise (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/promise.js:561:18)
    at Promise._settlePromise0 (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/promise.js:606:10)
    at Promise._settlePromises (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/promise.js:685:18)
    at Async._drainQueue (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/async.js:138:16)
    at Async._drainQueues (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/async.js:148:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/macbook/sandbox/app/node_modules/bluebird/js/release/async.js:17:14)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)

The files exist by the path in the exception

Steps I did to resolve, but have no success:

  1. I tried reinstall npm and nodejs 6.2.2, 5.4.1, 5.5.0.
  2. Cleaning and reinstalling from scratch doesn't help.
  3. Unbundle config.js have no affect.
  4. If I drop the aurelia-framework from bundler.js the next module come with that issue.
  5. If I drop all modules I receive that errors on files in the dist.
wegorich commented 8 years ago

So the project settings:

package.json

{
  "name": "undefined",
  "version": "1.0.0",
  "private": true,
  "description": "undefined",
  "directories": {
    "ignore": [
      "dist/demo"
    ],
    "lib": "dist"
  },
  "main": "dist/index.js",
  "devDependencies": {
    "aurelia-bundler": "^0.4.0",
    "aurelia-tools": "^0.2.3",
    "babel-core": "^6.10.4",
    "babel-eslint": "^6.0.5",
    "babel-plugin-syntax-flow": "^6.8.0",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-plugin-transform-es2015-modules-amd": "^6.8.0",
    "babel-plugin-transform-es2015-modules-commonjs": "^6.10.3",
    "babel-plugin-transform-es2015-modules-systemjs": "^6.9.0",
    "babel-plugin-transform-flow-strip-types": "^6.8.0",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-es2015-loose": "^7.0.0",
    "babel-preset-stage-1": "^6.5.0",
    "browser-sync": "^2.10.0",
    "conventional-changelog": "0.0.11",
    "del": "^1.1.0",
    "gulp": "^3.9.1",
    "gulp-autoprefixer": "^3.1.0",
    "gulp-babel": "^6.1.2",
    "gulp-bump": "^0.3.1",
    "gulp-change": "^1.0.0",
    "gulp-changed": "^1.1.0",
    "gulp-css-base64": "^1.3.4",
    "gulp-eslint": "^2.0.0",
    "gulp-minify-css": "^1.2.0",
    "gulp-notify": "^2.2.0",
    "gulp-plumber": "^1.0.1",
    "gulp-rev": "^5.1.0",
    "gulp-sass": "^2.1.1",
    "gulp-sourcemaps": "^1.6.0",
    "gulp-usemin": "^0.3.11",
    "isparta": "^3.1.0",
    "istanbul": "^0.3.13",
    "jspm": "^0.16.15",
    "jspm-git": "^0.4.2",
    "object.assign": "^1.0.3",
    "proxy-middleware": "^0.13.0",
    "require-dir": "^0.1.0",
    "run-sequence": "^1.0.2",
    "vinyl-paths": "^1.0.0",
    "yargs": "^2.1.1"
  },
  "jspm": {
    "main": "index",
    "directories": {
      "lib": "dist"
    },
    "dependencies": {
      "aurelia-logging": "npm:aurelia-logging@^1.0.0-rc.1.0.1",
      "aurelia-templating": "npm:aurelia-templating@^1.0.0-rc.1.0.1",
      "bootstrap": "github:twbs/bootstrap@^3.3.6",
      "chartjs": "npm:chart.js@^2.1.6",
      "dangrossman/bootstrap-daterangepicker": "github:dangrossman/bootstrap-daterangepicker@2.1.24",
      "dragula": "npm:dragula@^3.7.1",
      "font-awesome": "npm:font-awesome@^4.6.3",
      "jackmoore/autosize": "github:jackmoore/autosize@3.0.15",
      "jsmreese/moment-duration-format": "github:jsmreese/moment-duration-format@^1.3.0",
      "moment": "github:moment/moment@^2.13.0"
    },
    "devDependencies": {
      "aurelia-animator-css": "npm:aurelia-animator-css@1.0.0-rc.1.0.0",
      "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0-rc.1.0.0",
      "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-rc.1.0.0",
      "aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.0-rc.1.0.0",
      "aurelia-framework": "npm:aurelia-framework@1.0.0-rc.1.0.0",
      "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-rc.1.0.0",
      "aurelia-i18n": "npm:aurelia-i18n@0.5.3",
      "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-rc.1.0.0",
      "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0-rc.1.0.0",
      "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0-rc.1.0.0",
      "aurelia-polyfills": "npm:aurelia-polyfills@1.0.0-rc.1.0.0",
      "aurelia-router": "npm:aurelia-router@1.0.0-rc.1.0.0",
      "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-rc.1.0.0",
      "aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-rc.1.0.0",
      "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-rc.1.0.0",
      "aurelia-validation": "npm:aurelia-validation@^0.6.6",
      "css": "github:systemjs/plugin-css@^0.1.11",
      "fetch": "github:github/fetch@^0.11.0",
      "jquery": "github:components/jquery@2.2.1",
      "markdown-it": "npm:markdown-it@^7.0.0",
      "prismjs": "npm:prismjs@1.5.1",
      "text": "github:systemjs/plugin-text@^0.0.3",
      "traceur": "github:jmcriffey/bower-traceur@0.0.92",
      "traceur-runtime": "github:jmcriffey/bower-traceur-runtime@0.0.92"
    }
  },
  "dependencies": {}
}

and

config.js

System.config({
  defaultJSExtensions: true,
  transpiler: false,
  paths: {
    "*": "dist/*",
    "github:*": "jspm_packages/github/*",
    "npm:*": "jspm_packages/npm/*"
  },
  map: {
    "aurelia-animator-css": "npm:aurelia-animator-css@1.0.0-rc.1.0.0",
    "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0-rc.1.0.0",
    "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-rc.1.0.0",
    "aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.0-rc.1.0.0",
    "aurelia-framework": "npm:aurelia-framework@1.0.0-rc.1.0.0",
    "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-rc.1.0.0",
    "aurelia-i18n": "npm:aurelia-i18n@0.5.3",
    "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-rc.1.0.0",
    "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
    "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0-rc.1.0.0",
    "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0-rc.1.0.0",
    "aurelia-polyfills": "npm:aurelia-polyfills@1.0.0-rc.1.0.0",
    "aurelia-router": "npm:aurelia-router@1.0.0-rc.1.0.0",
    "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1",
    "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-rc.1.0.0",
    "aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-rc.1.0.0",
    "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-rc.1.0.0",
    "aurelia-validation": "npm:aurelia-validation@0.6.8",
    "bootstrap": "github:twbs/bootstrap@3.3.6",
    "chartjs": "npm:chart.js@2.1.6",
    "css": "github:systemjs/plugin-css@0.1.23",
    "dangrossman/bootstrap-daterangepicker": "github:dangrossman/bootstrap-daterangepicker@2.1.24",
    "dragula": "npm:dragula@3.7.1",
    "fetch": "github:github/fetch@0.11.1",
    "font-awesome": "npm:font-awesome@4.6.3",
    "jackmoore/autosize": "github:jackmoore/autosize@3.0.15",
    "jquery": "github:components/jquery@2.2.1",
    "jsmreese/moment-duration-format": "github:jsmreese/moment-duration-format@1.3.0",
    "markdown-it": "npm:markdown-it@7.0.0",
    "moment": "github:moment/moment@2.14.1",
    "pg/htmlkit": "index",
    "prismjs": "npm:prismjs@1.5.1",
    "text": "github:systemjs/plugin-text@0.0.3",
    "traceur": "github:jmcriffey/bower-traceur@0.0.92",
    "traceur-runtime": "github:jmcriffey/bower-traceur-runtime@0.0.92",
    "github:jspm/nodelibs-assert@0.1.0": {
      "assert": "npm:assert@1.4.1"
    },
    "github:jspm/nodelibs-buffer@0.1.0": {
      "buffer": "npm:buffer@3.6.0"
    },
    "github:jspm/nodelibs-path@0.1.0": {
      "path-browserify": "npm:path-browserify@0.0.0"
    },
    "github:jspm/nodelibs-process@0.1.2": {
      "process": "npm:process@0.11.5"
    },
    "github:jspm/nodelibs-punycode@0.1.0": {
      "punycode": "npm:punycode@1.4.1"
    },
    "github:jspm/nodelibs-util@0.1.0": {
      "util": "npm:util@0.10.3"
    },
    "github:jspm/nodelibs-vm@0.1.0": {
      "vm-browserify": "npm:vm-browserify@0.0.4"
    },
    "github:twbs/bootstrap@3.3.6": {
      "jquery": "github:components/jquery@2.2.1"
    },
    "npm:argparse@1.0.7": {
      "fs": "github:jspm/nodelibs-fs@0.1.2",
      "path": "github:jspm/nodelibs-path@0.1.0",
      "process": "github:jspm/nodelibs-process@0.1.2",
      "sprintf-js": "npm:sprintf-js@1.0.3",
      "util": "github:jspm/nodelibs-util@0.1.0"
    },
    "npm:assert@1.4.1": {
      "assert": "github:jspm/nodelibs-assert@0.1.0",
      "buffer": "github:jspm/nodelibs-buffer@0.1.0",
      "process": "github:jspm/nodelibs-process@0.1.2",
      "util": "npm:util@0.10.3"
    },
    "npm:aurelia-animator-css@1.0.0-rc.1.0.0": {
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-binding@1.0.0-rc.1.0.3": {
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0",
      "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-bootstrapper@1.0.0-rc.1.0.0": {
      "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-rc.1.0.0",
      "aurelia-framework": "npm:aurelia-framework@1.0.0-rc.1.0.0",
      "aurelia-history": "npm:aurelia-history@1.0.0-rc.1.0.0",
      "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-rc.1.0.0",
      "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-rc.1.0.0",
      "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0-rc.1.0.0",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0",
      "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0-rc.1.0.0",
      "aurelia-polyfills": "npm:aurelia-polyfills@1.0.0-rc.1.0.0",
      "aurelia-router": "npm:aurelia-router@1.0.0-rc.1.0.0",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1",
      "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-rc.1.0.0",
      "aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-rc.1.0.0",
      "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1": {
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-event-aggregator@1.0.0-rc.1.0.0": {
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-framework@1.0.0-rc.1.0.0": {
      "aurelia-binding": "npm:aurelia-binding@1.0.0-rc.1.0.3",
      "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1",
      "aurelia-loader": "npm:aurelia-loader@1.0.0-rc.1.0.0",
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0",
      "aurelia-path": "npm:aurelia-path@1.0.0-rc.1.0.0",
      "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-rc.1.0.0",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-history-browser@1.0.0-rc.1.0.0": {
      "aurelia-history": "npm:aurelia-history@1.0.0-rc.1.0.0",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-i18n@0.5.3": {
      "aurelia-binding": "npm:aurelia-binding@1.0.0-rc.1.0.3",
      "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1",
      "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-rc.1.0.0",
      "aurelia-loader": "npm:aurelia-loader@1.0.0-rc.1.0.0",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1",
      "aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-rc.1.0.0",
      "i18next": "npm:i18next@2.5.1",
      "intl": "npm:intl@1.2.4"
    },
    "npm:aurelia-loader-default@1.0.0-rc.1.0.0": {
      "aurelia-loader": "npm:aurelia-loader@1.0.0-rc.1.0.0",
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-loader@1.0.0-rc.1.0.0": {
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-path": "npm:aurelia-path@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-logging-console@1.0.0-rc.1.0.0": {
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-metadata@1.0.0-rc.1.0.1": {
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-pal-browser@1.0.0-rc.1.0.0": {
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-polyfills@1.0.0-rc.1.0.0": {
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-route-recognizer@1.0.0-rc.1.0.1": {
      "aurelia-path": "npm:aurelia-path@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-router@1.0.0-rc.1.0.0": {
      "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1",
      "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-rc.1.0.0",
      "aurelia-history": "npm:aurelia-history@1.0.0-rc.1.0.0",
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-path": "npm:aurelia-path@1.0.0-rc.1.0.0",
      "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-task-queue@1.0.0-rc.1.0.0": {
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-templating-binding@1.0.0-rc.1.0.0": {
      "aurelia-binding": "npm:aurelia-binding@1.0.0-rc.1.0.3",
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-templating-resources@1.0.0-rc.1.0.0": {
      "aurelia-binding": "npm:aurelia-binding@1.0.0-rc.1.0.3",
      "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1",
      "aurelia-loader": "npm:aurelia-loader@1.0.0-rc.1.0.0",
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0",
      "aurelia-path": "npm:aurelia-path@1.0.0-rc.1.0.0",
      "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-rc.1.0.0",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-templating-router@1.0.0-rc.1.0.0": {
      "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1",
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0",
      "aurelia-path": "npm:aurelia-path@1.0.0-rc.1.0.0",
      "aurelia-router": "npm:aurelia-router@1.0.0-rc.1.0.0",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1"
    },
    "npm:aurelia-templating@1.0.0-rc.1.0.1": {
      "aurelia-binding": "npm:aurelia-binding@1.0.0-rc.1.0.3",
      "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1",
      "aurelia-loader": "npm:aurelia-loader@1.0.0-rc.1.0.0",
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-pal": "npm:aurelia-pal@1.0.0-rc.1.0.0",
      "aurelia-path": "npm:aurelia-path@1.0.0-rc.1.0.0",
      "aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-rc.1.0.0"
    },
    "npm:aurelia-validation@0.6.8": {
      "aurelia-binding": "npm:aurelia-binding@1.0.0-rc.1.0.3",
      "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-rc.1.0.1",
      "aurelia-loader": "npm:aurelia-loader@1.0.0-rc.1.0.0",
      "aurelia-logging": "npm:aurelia-logging@1.0.0-rc.1.0.1",
      "aurelia-metadata": "npm:aurelia-metadata@1.0.0-rc.1.0.1",
      "aurelia-templating": "npm:aurelia-templating@1.0.0-rc.1.0.1"
    },
    "npm:buffer@3.6.0": {
      "base64-js": "npm:base64-js@0.0.8",
      "child_process": "github:jspm/nodelibs-child_process@0.1.0",
      "fs": "github:jspm/nodelibs-fs@0.1.2",
      "ieee754": "npm:ieee754@1.1.6",
      "isarray": "npm:isarray@1.0.0",
      "process": "github:jspm/nodelibs-process@0.1.2"
    },
    "npm:chart.js@2.1.6": {
      "chartjs-color": "npm:chartjs-color@2.0.0",
      "child_process": "github:jspm/nodelibs-child_process@0.1.0",
      "fs": "github:jspm/nodelibs-fs@0.1.2",
      "moment": "npm:moment@2.14.1",
      "process": "github:jspm/nodelibs-process@0.1.2",
      "systemjs-json": "github:systemjs/plugin-json@0.1.2"
    },
    "npm:chartjs-color-string@0.4.0": {
      "color-name": "npm:color-name@1.1.1"
    },
    "npm:chartjs-color@2.0.0": {
      "buffer": "github:jspm/nodelibs-buffer@0.1.0",
      "chartjs-color-string": "npm:chartjs-color-string@0.4.0",
      "color-convert": "npm:color-convert@0.5.3"
    },
    "npm:contra@1.9.4": {
      "atoa": "npm:atoa@1.0.0",
      "ticky": "npm:ticky@1.0.1"
    },
    "npm:crossvent@1.5.4": {
      "child_process": "github:jspm/nodelibs-child_process@0.1.0",
      "custom-event": "npm:custom-event@1.0.0",
      "fs": "github:jspm/nodelibs-fs@0.1.2",
      "path": "github:jspm/nodelibs-path@0.1.0",
      "process": "github:jspm/nodelibs-process@0.1.2",
      "systemjs-json": "github:systemjs/plugin-json@0.1.2"
    },
    "npm:dragula@3.7.1": {
      "contra": "npm:contra@1.9.4",
      "crossvent": "npm:crossvent@1.5.4"
    },
    "npm:entities@1.1.1": {
      "systemjs-json": "github:systemjs/plugin-json@0.1.2"
    },
    "npm:font-awesome@4.6.3": {
      "css": "github:systemjs/plugin-css@0.1.23"
    },
    "npm:i18next@2.5.1": {
      "process": "github:jspm/nodelibs-process@0.1.2"
    },
    "npm:inherits@2.0.1": {
      "util": "github:jspm/nodelibs-util@0.1.0"
    },
    "npm:intl@1.2.4": {
      "process": "github:jspm/nodelibs-process@0.1.2"
    },
    "npm:linkify-it@2.0.0": {
      "uc.micro": "npm:uc.micro@1.0.2"
    },
    "npm:markdown-it@7.0.0": {
      "argparse": "npm:argparse@1.0.7",
      "buffer": "github:jspm/nodelibs-buffer@0.1.0",
      "entities": "npm:entities@1.1.1",
      "fs": "github:jspm/nodelibs-fs@0.1.2",
      "linkify-it": "npm:linkify-it@2.0.0",
      "mdurl": "npm:mdurl@1.0.1",
      "process": "github:jspm/nodelibs-process@0.1.2",
      "punycode": "github:jspm/nodelibs-punycode@0.1.0",
      "systemjs-json": "github:systemjs/plugin-json@0.1.2",
      "uc.micro": "npm:uc.micro@1.0.2"
    },
    "npm:path-browserify@0.0.0": {
      "process": "github:jspm/nodelibs-process@0.1.2"
    },
    "npm:process@0.11.5": {
      "assert": "github:jspm/nodelibs-assert@0.1.0",
      "fs": "github:jspm/nodelibs-fs@0.1.2",
      "vm": "github:jspm/nodelibs-vm@0.1.0"
    },
    "npm:punycode@1.4.1": {
      "process": "github:jspm/nodelibs-process@0.1.2"
    },
    "npm:ticky@1.0.1": {
      "process": "github:jspm/nodelibs-process@0.1.2"
    },
    "npm:util@0.10.3": {
      "inherits": "npm:inherits@2.0.1",
      "process": "github:jspm/nodelibs-process@0.1.2"
    },
    "npm:vm-browserify@0.0.4": {
      "indexof": "npm:indexof@0.0.1"
    }
  }
});
AStoker commented 8 years ago

We are experiencing the same issue. It began yesterday when we removed the cached node modules and reinstalled them (part of an upgrade process). So I feel that it's related to some library that's being referenced by the bundler (since the bundler itself hasn't updated recently).

EisenbergEffect commented 8 years ago

JSPM just had some releases. They probably broke everything again. It's their usual practice.

wegorich commented 8 years ago

God damn, thanks @AStoker @EisenbergEffect for clarification.

It's seems possible to move through the jspm and aurelia-bundler deps and trying to rollback each of them. May be find broken one 🎱

The point to start for me...

AStoker commented 8 years ago

@wegorich does specifying the specific version before the broken one (https://github.com/jspm/jspm-cli/releases/tag/0.16.39) work for you? The updated version 0.16.40 is the one that might be causing the problem, so if you specify the exact version to be 0.16.39, it might work.

EisenbergEffect commented 8 years ago

If you can help us track it down, we'll do our best to fix anything in our code. It's been very difficult working the the system-builder because it has frequent breaks ;( I'm always suspicious when they release. It seems to correspond with reports like this.

AStoker commented 8 years ago

Just checked, although JSPM did push an update, our JSPM cli is still locked at the version we had before they updated (0.16.31), and our errors began an hour before JSPM published their update...

EisenbergEffect commented 8 years ago

Well, that is odd.

wegorich commented 8 years ago

I rollback to the jspm 0.16.12 the issue still there. Seems it's old one module corrupted

doktordirk commented 8 years ago

i.d wait a day then update the build tasks using the skeleton. but better fix versions of i18n xy, validation 0.6.6 and jspm 16.39

genachka commented 8 years ago

Same here. Tried to narrow down by doing bundle on skeleton-esnext and same issue. Also tried as @wegorich to rollback jspm to previous releases without success.

wegorich commented 8 years ago

@EisenbergEffect @AStoker find the issue solution.

Added the override for system js to mine package.json; "systemjs": "git+https://git@github.com/wegorich/systemjs.git"

Just forked systemjs for testing, https://github.com/wegorich/systemjs/commit/90e4eff29f0f8b7493b55546dccda0eadd5d1d51

All fine with JSPM, tested few version of it.

genachka commented 8 years ago

With the updated systemjs builder fixes, bundling is working again for me.

EisenbergEffect commented 7 years ago

@ahmedshuhel Can you review to see if this is still an issue?

ahmedshuhel commented 7 years ago

I think the issue is fixed automatically as the underlying dependencies (systemjs-builder) got fixed. Closing this. If anyone is still experiencing the issue, please create a new ticket with a link of a repo that reproduces this bug. Thank you.