小编Azi*_*rak的帖子

错误:auth/configuration-not。发生内部错误

知道为什么当我在 React-Native 和 Firebase 中单击“通过电子邮件和密码注册”时遇到此问题吗?

[Error: [auth/configuration-not] An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]]
Run Code Online (Sandbox Code Playgroud)

我的 App.js 文件

[Error: [auth/configuration-not] An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]]
Run Code Online (Sandbox Code Playgroud)

我的 Register.js 文件:

import React,{useEffect,useState} from 'react';
import 'react-native-gesture-handler';
import {
  StatusBar,
  View,
  Text
} from 'react-native';

import {Provider} from 'react-redux';
import {store} from './redux/store';


import Home from './screens/Home';
import Cart from './screens/Cart';
import CartDone from './screens/CartDone';
import Login from './screens/Login';
import Register from './screens/Register';
import {NavigationContainer} from '@react-navigation/native';
import {createDrawerNavigator,DrawerContentScrollView,DrawerItem} from …
Run Code Online (Sandbox Code Playgroud)

firebase react-native

16
推荐指数
1
解决办法
3万
查看次数

如何在 React 中使用animejs?

我已经从 npm 安装了animejs,并导入了所需的文件,但是在我的代码中添加动画(代码)时,它无法正常工作并显示错误。

这是我所做的一个小例子:

import React from 'react';
import anime from 'animejs';


 const test =()=>{


const animation = anime({
    targets: '.css-selector-demo .el',
    translateX: 250
  });

return(
    <div>
   {
   animation
   }
    </div>
)

}
export default test;

Run Code Online (Sandbox Code Playgroud)

这是我得到的错误:

Error: Objects are not valid as a React child (found: object with keys {update,

begin, loopBegin, changeBegin, change, changeComplete, loopComplete, complete, loop, 
direction, autoplay, timelineOffset, id, children, animatables, animations, 
duration, delay, endDelay, finished, reset, set, tick, seek, pause, play, 
reverse, restart, passThrough, currentTime, …
Run Code Online (Sandbox Code Playgroud)

reactjs anime.js

2
推荐指数
1
解决办法
8062
查看次数

标签 统计

anime.js ×1

firebase ×1

react-native ×1

reactjs ×1