opensocial.googleusercontent.com的angular6加载问题

时间:2018-06-07 16:36:21

标签: firebase-authentication angular-material angular6

在ngnix中部署了角度6 app(使用角度材质)。

登录页面导航没有问题。使用基于fire-base的身份验证和登录后身份验证,导航到登录成功页面,但在控制台和页面加载中显示以下错误会在此处停止(挂起)。
如果我调整窗口大小,页面加载会再次启动。

此错误来自www-opensocial.googleusercontent.com/gadgets/rpc/rpc.v.js,不确定导致此错误的原因

rpc.v.js:23 Uncaught TypeError: Cannot read property 'register' of undefined
    at Object.init (rpc.v.js:23)
    at Object.init (rpc.v.js:276)
    at rpc.v.js:284

我的索引文件

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Tradingapp9</title>
  <base href="/">

  <meta name="viewport" content="width=device-width, initial-scale=1">



  <link rel="icon" type="image/x-icon" href="favicon.ico">
  <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">


<!-- This is for google authentication -->
<!--script src="https://apis.google.com/js/platform.js"></script-->
<script src="https://apis.google.com/js/platform.js" async defer></script>
<!-- This is for google authentication -->
</head>
<body>
  <app-root></app-root>
</body>
</html>

未从谷歌搜索获得任何输入

0 个答案:

没有答案