各类项目Issues收集

React Native

react-navigation

Issue:

1
isMounted(...) is deprecated warning

https://github.com/react-navigation/react-navigation/issues/3956

Fixed:

https://www.hellojava.com/article/19116

Issue & Fixed: https://github.com/johanneslumpe/react-native-fs/pull/238/commits

JPush issue:

https://community.jiguang.cn/t/sdk--objc-class---jpushservice-referenced/12631/7

Issue: https://github.com/facebook/react-native/issues/7308

注意红框部分

API 请求

info.plist

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
...
<key>NSAppTransportSecurity</key>
<dict>
	<key>NSAllowsArbitraryLoads</key>
	<true/>
	<key>NSExceptionDomains</key>
	<dict>
		<key>localhost</key>
		<dict>
			<key>NSExceptionAllowsInsecureHTTPLoads</key>
			<true/>
		</dict>
	</dict>
</dict>
...

重装watchman

1
rm -rf /usr/local/var/run/watchman/ && brew uninstall watchman && brew install watchman

权限

1
2
3
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}

sudo chown -R $USER /usr/local/lib/node_modules

编译问题

SSZipArchive._zip duplicate

https://github.com/Microsoft/react-native-code-push/issues/241

React Native Upgrade

Upgrade 0.36 to 0.41

upgrade release build issue

Kubernetes

Kube-dns is not running:

  • Issue:

    1
    
    kubectl get pods --all-namespaces

    related-issue

  • Solve:

    1
    
    kubectl apply -f https://git.io/weave-kube

Gitlab

admin身份如果不加入对应群组, 查看不到对应群组内添加的Deploy Keys

但是用API 就可以查看访问:

Deploy Keys API