semnyqu

Results 19 comments of semnyqu

> 用 yarn ,配置版本如下图 > hi CarGuo, 非常感谢你的回复,我的操作及环境信息如下: 本地环境如下: npm版本:npm -v 7.11.1 node版本:node -v v13.13.0 使用yarn来安装对应的第三方库,使用命令如下yarn install --no-lockfile;提示信息如下 ![image](https://user-images.githubusercontent.com/14885293/117421522-2ef5bb00-af51-11eb-9788-49cf80d4b37f.png) 难道以上问题和环境版本有关吗?

> $ npm -v > 6.14.4 > $ node -v > v10.13.0 指定了安装版本brew link --overwrite --force node@10 node -v v10.24.0 npm -v 6.14.11 但是执行yarn install 还是出现这个错误 ![image](https://user-images.githubusercontent.com/14885293/117425436-5cdcfe80-af55-11eb-9151-01c35056fd87.png)

> $ npm -v > 6.14.4 > $ node -v > v10.13.0 初步感觉还是这个库拉不下来,https://github.com/CarSmallGuo/react-native-version-number.git 其他库都正常,只有这个不行

> 这个在 github 上呀~不大可能拉不下来,除非网络访问有问题~ NPM网站的路径 ![image](https://user-images.githubusercontent.com/14885293/117433676-53a45f80-af5e-11eb-8f21-084fb13a17c6.png) 配置文件里的路径 ![image](https://user-images.githubusercontent.com/14885293/117433726-61f27b80-af5e-11eb-9a36-2eaa31c86b1c.png) git clone 下载 ![image](https://user-images.githubusercontent.com/14885293/117433883-949c7400-af5e-11eb-8655-61ad58e9bdd6.png) 有点奇怪,感觉这里的配置有点问题

我也碰到这个问题了,就是这里的代码,看不懂作者 NSAssert(!self.delegate, @"Set delegate should be invoked when viewDidLoad"); 这个警告的用途

我也没搞懂这个self.delegate = nil;这个的设计初衷 感觉这里影响很大,特别是使用系统相册的时候,无法正常使用;会导致两个问题: 1.崩溃 NSAssert(!self.delegate, @"Set delegate should be invoked when viewDidLoad"); 2.无法正常获取到图片,准确说是delegate无效 self.delegate = nil; 这句话导致的,希望作者考虑下这句话的用途,斟酌下看看有无其他调整; 暂时未了不影响其他调用,只能放弃这个第三方库了

if let isExcluded = cls.isKeyExcluded(fromScript:), name.withCString(isExcluded) { return true } ![image](https://user-images.githubusercontent.com/14885293/57595352-052e7700-7577-11e9-8dbf-b3e64eb96874.png) @xwv 请教个问题,这个方法始终没有想明白,前面的参数传入的是哪个,我调试的时候发现isKeyExcluded用的貌似是name;还有后面的withCString怎么能使用一个bool的返回值(单独使用报错); 请楼主赐教,谢谢

> @semnyqu, sorry for my late reply. I'm not actively working on this project. > > I need more detail information about the 1st question. What are the results of...

不知道是我的使用错误还是说需要什么额外的配置,麻烦高手指导,谢谢 @smallnew