我正在尝试在 github 上修复此错误 - https://github.com/callstack/react-native-fbads/issues/286。我克隆了现有的存储库并运行它,但错误仍然存在。我目前正在更新软件包以了解为什么此崩溃不断发生,但是当我尝试从 0.63.4 升级到 React-native 0.64 时,我在尝试在设备或模拟器上运行时在 xcode 中收到此错误:
Projects/ReactNative-FBAds-AdChoicesView-Issue/node_modules/react-native/scripts/../Libraries: No such file or directory
Run Code Online (Sandbox Code Playgroud)
似乎升级到 0.64 时,库文件夹不再位于脚本文件夹中...任何帮助将不胜感激。我使用与上面链接中相同的存储库,然后我运行npm install -g npm-check-updates
然后ncu -u然后然后npm install然后cd ios & pod install
(更新 - 0.63.4 也没有库文件夹。)
我正在尝试创建一个 React nivo 折线图,用虚线而不是实线。我研究过图案,但不知道如何制作。任何帮助表示赞赏。
这是我的 webpack.config.js
module.exports = {
entry: "./src/index.js",//path relative to this file
output: {
filename: "../frontEnd/bundle.js",//path relative to this file
},
externals: {
puppeteer: 'require("puppeteer")',
},
mode: 'development'
}
Run Code Online (Sandbox Code Playgroud)
这是运行 webpack 的文件 index.js:
var backendScript = require('../backEnd/backend');
var safeBackendScript = require('../backEnd/safeBackend');
function test(){
document.getElementById("Fname").value= "John"
document.getElementById("Lname").value= "Smith"
document.getElementById("Phone").value= "1234567890"
document.getElementById("Email").value= "Jsmith@domain.com"
document.getElementById("Saddress").value= "123 Main Street"
document.getElementById("Zip").value= "12345"
document.getElementById("country").value= "USA"
document.getElementById("state").value= "NJ"
document.getElementById("cardtype").value= "AE"
document.getElementById("Cname").value= "JOHN H SMTIH"
document.getElementById("Cnumber").value= "1234567890101112"
document.getElementById("CVV").value= "123"
document.getElementById("cardmonth").value= "01"
document.getElementById("cardyear").value= "2035"
document.getElementById("category").value= "jackets"
document.getElementById("kword").value= "Supreme Jacket"
document.getElementById("delay").value= …Run Code Online (Sandbox Code Playgroud) HomeStackNavigator(stack)
---HomeTabsNavigator(Tab)
---FirstTab(stack)
---CreatePost(screen)
---Posts(Tab)
---Following(screen)
---Feed(screen) <----- functional component in here, lets call it component1
---SecondTab
...
---Screen2
Run Code Online (Sandbox Code Playgroud)
我希望能够从提要屏幕中的功能组件导航到屏幕 2。我尝试查看 React Native 文档中的嵌套导航文档,但没有成功。
javascript react-native react-navigation react-navigation-stack
javascript ×3
react-native ×2
reactjs ×2
charts ×1
css ×1
html ×1
nivo-react ×1
node.js ×1
npm ×1
webpack ×1