Office Graph API中是否有办法访问特定列表中的项目 - 而不仅仅是我可以看到的项目,而是我可能无法访问的项目?
我有以下js:
import React, { useState, useEffect, useRef } from 'react';
import {
Text,
View,
TextInput,
Alert,
Image,
TouchableOpacity,
} from 'react-native';
import 'react-native-get-random-values';
import Button from 'react-native-button';
import PhoneInput from 'react-native-phone-input';
import { FirebaseRecaptchaVerifierModal } from 'expo-firebase-recaptcha';
import CodeField from 'react-native-confirmation-code-field';
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view';
import { useColorScheme } from 'react-native-appearance';
import TNActivityIndicator from '../../truly-native/TNActivityIndicator';
import TNProfilePictureSelector from '../../truly-native/TNProfilePictureSelector/TNProfilePictureSelector';
import CountriesModalPicker from '../../truly-native/CountriesModalPicker/CountriesModalPicker';
import { IMLocalized } from '../../localization/IMLocalization';
import { setUserData } from '../redux/auth';
import { connect …
Run Code Online (Sandbox Code Playgroud) 我已经更新了 package.json 中的模块,现在出现错误“无法从 node_modules\uuidv4\build\lib\uuidv4.js 解析模块 util:在项目中找不到 util。”
在下面的步骤中,我已经完成了#2。我没有为 #1 使用 watchman,我在 #3 中使用的是 npm 而不是 yarn,我不知道 #4 指的是什么路径。这是我的完整输出。
PS C:\Dev\myProj> react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --资产目标 android/app/src/main/res/
(节点:16148)警告:访问循环依赖中模块导出的不存在的属性“padLevels”(node --trace-warnings ...
用于显示警告的创建位置)欢迎使用 React Native!一次学习,随处书写
错误无法util
从node_modules\uuidv4\build\lib\uuidv4.js
以下位置解析模块:在项目中找不到 util。
如果您确定该模块存在,请尝试以下步骤:
util
从node_modules\uuidv4\build\lib\uuidv4.js
以下位置解析模块:在项目中找不到 util。如果您确定该模块存在,请尝试以下步骤:
我对 React Native 相当陌生,看起来我的应用程序在执行我的主要应用程序代码之前崩溃了,但我不知道在哪里。在 VSCode 中,我在输出中看到以下内容:
Error: EPERM: operation not permitted, lstat 'c:\Dev\myapp\android\app\build\generated\not_namespaced_r_class_sources\debug\r\com\bumptech\glide\integration\okhttp'
Emitted 'error' event on NodeWatcher instance at:
at NodeWatcher.<anonymous> (c:\Dev\myapp\node_modules\sane\src\node_watcher.js:291:16)
at FSReqCallback.oncomplete (fs.js:176:21) {
errno: -4048,
code: 'EPERM',
syscall: 'lstat',
path: 'c:\\Dev\\myapp\\android\\app\\build\\generated\\not_namespaced_r_class_sources\\debug\\r\\com\\bumptech\\glide\\integration\\okhttp'
Run Code Online (Sandbox Code Playgroud)
我试图弄清楚如何确定这是从哪里来的,以及如何在将来调试此类错误。