日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

java世博会,反应原生失去的世博会

發(fā)布時間:2023/12/4 编程问答 44 豆豆
生活随笔 收集整理的這篇文章主要介紹了 java世博会,反应原生失去的世博会 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

我用react-init創(chuàng)建的我的RN項(xiàng)目工作正常,直到我做 npm install 才能讓 react-native-elements 與 react-native-vector-icons 一起工作 . 我無法鏈接,它說我有反應(yīng)本地而不是react-native-cli . 所以我卸載并反應(yīng)原生并全局安裝cli .

現(xiàn)在 npm start 告訴我,我有"The Expo SDK requires Expo to run" .

在ExpoKit instructions中它說:打開項(xiàng)目時,Android Studio可能會提示您升級Gradle或其他構(gòu)建工具的版本,但不要這樣做,因?yàn)槟赡軙玫揭庀氩坏降慕Y(jié)果 . ExpoKit始終附帶所有構(gòu)建工具的最新支持版本 .

顯然我沒有聽從那個建議,這是我的懲罰 . 但我該怎么辦呢 . 我的項(xiàng)目非常復(fù)雜 .

這是有問題的 projects.json 和它的前版本 . 有什么辦法可以回滾到我的工作安裝嗎?

{

"name": "noam",

"version": "0.0.1",

"private": true,

"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",

"scripts": {

"start": "react-native-scripts start",

"eject": "react-native-scripts eject",

"android": "react-native-scripts android",

"ios": "react-native-scripts ios",

"test": "jest"

},

"dependencies": {

"eslint": "^4.19.1",

"expo": "^27.0.0",

"jsonloader": "^1.0.1",

"object-path": "^0.11.4",

"react": "16.3.1",

"react-native": "0.55.3",

"react-native-action-bar": "^2.0.5",

"react-native-bluetooth-status": "^1.1.3",

"react-native-checkbox": "^2.0.0",

"react-native-cli": "^2.0.1",

"react-native-collapsible": "^0.11.2",

"react-native-drawer-layout": "^2.0.0",

"react-native-elements": "^0.19.1",

"react-native-exit-app": "^1.0.0",

"react-native-material-dropdown": "^0.11.1",

"react-native-scripts": "^1.14.1",

"react-native-simple-radio-button": "^2.7.1",

"react-native-tab-view": "0.0.77",

"react-native-vector-icons": "^4.6.0",

"react-navigation": "^1.5.11",

"rn-stack-router": "^1.0.0"

},

"devDependencies": {

"babel-eslint": "^8.2.3",

"babel-jest": "22.4.3",

"babel-preset-react-native": "4.0.0",

"eslint-config-airbnb": "^16.1.0",

"eslint-plugin-import": "^2.11.0",

"eslint-plugin-jsx-a11y": "^6.0.3",

"eslint-plugin-react": "^7.8.2",

"is-arrayish": "^0.3.1",

"jest": "22.4.3",

"react-test-renderer": "16.3.1"

},

"jest": {

"preset": "react-native"

},

"rnpm": {

"assets": ["./assets/fonts/"]

}

}

舊版本已插入第23行:

"react-native-cli": "^2.0.1",

"react-native-scripts": "^1.14.1",

"babel-eslint": "^8.2.3",

新聞:如果我做了 yarn install 然后 yarn start 在loooooong等待之后"creating package..."

那么為什么會這樣呢? npm的版本問題?

總結(jié)

以上是生活随笔為你收集整理的java世博会,反应原生失去的世博会的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。