Получение ошибки при инициализации jquery.Uncaught TypeError: Невозможно установить для свойства 'jquery' значение undefined в (index): 27 - PullRequest
0 голосов
/ 19 декабря 2018

Получение ошибки в свойстве jquery, объявленном в путях.

<html>
  <head>
    <title>User Interface</title>
    <link
      rel="stylesheet"
      href="https://fonts.googleapis.com/icon?family=Material+Icons"
    />
    <link
      rel="stylesheet"
      href="/node_modules/material-design-lite/dist/material.css"
    />

    <script src="node_modules/traceur/bin/traceur.js"></script>
    <script src="node_modules/systemjs/dist/system.js"></script>

    <script src="node_modules/material-design-lite/dist/material.js"></script>

  </head>
  <body>
    <script>
      System.paths['jquery'] = "./node_modules/jquery/dist/jquery.js";
      System.import("src/app.js");
    </script>
  </body>
</html>
...