Cannot calculate canonical name for file package '///twenty/two/2/.js, Aurelia bundler

I get an error when connecting my aurelia .

Error: Cannot calculate canonical name for file package "/// twenty / two/2/.js

Below is my Config.jscontent

 "baseURL": "/src/",
 "defaultJSExtensions": true,
 "transpiler": "babel",
 "babelOptions": {
   "optional": [
     "runtime",
     "optimisation.modules.system",
     "es7.decorators",
     "es7.classProperties"
   ]
 },
 "paths": {
   "*": "*",
   "github:": "jspm_packages/github/",
   "npm:": "jspm_packages/npm/",
   "resources/": "resources/",
   "account/": "account/",
   "activity/": "activity/",
   "dashboard/": "dashboard/",
   "feedback/": "feedback/",
   "home/": "home/",
   "orders/": "orders/",
   "shared/": "shared/",
   "user/": "user/"
 },
Run codeHide result

Below is the assembly /bundles.json

{
  "bundles": {
    "dist/app-build": {
      "includes": [
        "[*/**/*]",
        "[*/**/*.html!text]",
        "[*/**/*.css!text]"
      ],
      "excludes": [],
      "options": {
        "inject": true,
        "minify": true
      }
    },
    "dist/aurelia": {
      "includes": [
        "aurelia-animator-css",
        "aurelia-auth",
        "aurelia-binding",
        "aurelia-bootstrapper",
        "aurelia-breeze",
        "aurelia-dependency-injection",
        "aurelia-dialog",
        "aurelia-event-aggregator",
        "aurelia-framework",
        "aurelia-history",
        "aurelia-history-browser",
        "aurelia-http-client",
        "aurelia-i18n",
        "aurelia-loader",
        "aurelia-loader-default",
        "aurelia-logging",
        "aurelia-metadata",
        "aurelia-path",
        "aurelia-route-recognizer",
        "aurelia-router",
        "aurelia-task-queue",
        "aurelia-templating",
        "aurelia-templating-binding",
        "aurelia-templating-resources",
        "aurelia-templating-router",
        "aurelia-validation",
        "babel",
        "bootstrap",
        "breeze",
        "core-js",
        "css",
        "font-awesome",
        "i18next",
        "jquery",
        "moment",
        "ms-signalr-client",
        "text",
        "toastr"
      ],
      "options": {
        "inject": true,
        "minify": true,
        "rev": true
      }
    }
  }
}
Run codeHide result

Please help me figure out what's wrong.

+4
source share

Source: https://habr.com/ru/post/1623781/


All Articles