Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cloudboost-库错误_Cloudboost - Fatal编程技术网

Cloudboost-库错误

Cloudboost-库错误,cloudboost,Cloudboost,昨天下午发生了一些奇怪的事情,我在加载cloudboost.js库时突然出现了错误 这是一个错误,我已经包含了基本的html,其中只有一个库给了我这个错误,还有指向URL的链接: 这就是错误: Uncaught TypeError: Right-hand side of 'instanceof' is not an object at CloudBoost._CB2.default.fromJSON (cloudboost.js:6238) at CloudBoost._CB2.default.

昨天下午发生了一些奇怪的事情,我在加载cloudboost.js库时突然出现了错误

这是一个错误,我已经包含了基本的html,其中只有一个库给了我这个错误,还有指向URL的链接:

这就是错误:

Uncaught TypeError: Right-hand side of 'instanceof' is not an object
at CloudBoost._CB2.default.fromJSON (cloudboost.js:6238)
at CloudBoost._CB2.default.fromJSON (cloudboost.js:6199)
at Function._CB2.default.CloudUser._getCurrentUser (cloudboost.js:18276)
at Object.defineProperty.value (cloudboost.js:18371)
at __webpack_require__ (cloudboost.js:30)
at Object.defineProperty.value (cloudboost.js:81)
at __webpack_require__ (cloudboost.js:30)
at cloudboost.js:50
at cloudboost.js:53
at webpackUniversalModuleDefinition (cloudboost.js:9)
at cloudboost.js:10
这是我的HTML页面的源代码:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <!--[if IE]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <![endif]-->
    <title>Cloudboost - Test</title>

</head>

<body>

</body>

<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="https://cloudboost.io/js-sdk/cloudboost.js"></script>

</html>

Cloudboost测试

我看不出有任何错误。你能试着隐姓埋名吗


因此,如果其他人遇到这个问题,我的用户表中有一个地址、全名和地理点作为自定义字段。我已经去掉了这些,一切都很好


奇怪,无论如何,我现在将使用自定义表来存储额外的用户信息。

这是奇怪的部分,我不知道,没有错误。当我尝试在我的实际站点上通过cloudboost使用登录系统时,我开始出现错误。返回此测试页面,仍然会看到错误。是什么缓存导致了这种情况?可能是旧版本的SDK。另外,请记住清除网站中存储的所有数据以清除cloudboost错误。