Code Monkey home page Code Monkey logo

Comments (34)

TakWolf avatar TakWolf commented on May 30, 2024

image

这一步没懂,是这个原因吗

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

不是,重新安装吧,是缺文件。依赖的文件。。。

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

重新安装npm问题还是没解决
xcode程序启动的时候跳出控制台,提示如下错误

image

错误和之前以一样

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

缺少东西,安这个来,先把需要的工具安装了:http://facebook.github.io/react-native/docs/getting-started.html

from noder-react-native.

osdio avatar osdio commented on May 30, 2024
brew install watchman
brew install flow

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

懂了,我脑残了。。。

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

ok, 有问题再说,对了,你咋也开始研究react-native了

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

我无聊逛nodecn看到你发了,down下来研究一下
万一好用呢

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

还行,不过性能是问题,listview的性能限制了发展

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

还是没成功
image

image

我改装的都安装了,安装官方文档创建Hello World可以运行

gulp没安装,这个是需要的吗?

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

需要啊,但是我package里标明了。
你这个问题,应该是react-native-modal这个库的oc文件缺了,你去node_modules里看看,缺了,自己从别的地方拷贝过来就行。

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

这个是因为react-native-modal库依赖react-native-blur,应该是在modal库中依赖的blur库的oc代码没有全,你需要自己去clone下来拷贝过去,但是我没有遇到这个问题,你却遇到了。我曾经试过,删除node_modules重新安装都行得。

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

image

这两个是吗

我需要手动更新这两个是吗?
xcode中的依赖项目是直接关联到node_modules文件夹中的项目的吗?

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

对对,如果modal里的oc文件缺了,你可以去blur中复制过来,或者,最好的方式,是在xcode中,你去modal中,看到有些文件是变红得,就是xcode包含了,但是,实际找不到文件,你可以直接添加。

from noder-react-native.

osdio avatar osdio commented on May 30, 2024
cd node_modules/react-native-modal
sudo npm install

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

实际文件是存在的。
image

image

是xcode找不到了吗?

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

应该不是,这个问题,容我想想。。。。
去xcode中,运行按钮的右边,有一个选择,你选择react,然后comm+b,试试会不会报错

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

或者,在xcode Libraries中,删除React库,然后右键,添加文件,添加node_modules/react-native/React.xcodeproj

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

可以运行了 = =!
image

果然是这一句我没搞懂。。。
先要编译react

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

哈哈,

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

image

这一步我也执行了

image

原来目录中是没有react-native-blur的

可能和这个也有关系

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

对对,当然有关系,这个modal中用到了,blur库,我虽然全局下也安装了blur但是,modal下没有blur的话,oc会出错,如果全局下没有blur的话,js会出错。

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

主要是,我项目用到了modal,modal又引用了blur,而且项目中又要直接使用blur。这关系有点复杂。

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

大概get了

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

怎么样,跑起来感觉咋样,要不,等安卓出来了,你也帮忙开发一下noder的安卓版嘛?

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

还有个小问题,xcode中有这样一个文件
image

image

提示找不到路径

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

哦哦,你需要:

react-native bundle

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

因为这个是编译后产生的文件,所以我加入了gitignore

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

需要修改ip是吗,在哪里修改

image

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

发现nodecn好像并没有android客户端

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

是的,运行npm start,你得注意看文档啊,我都写了。

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

image

android端说是10月份开源

from noder-react-native.

TakWolf avatar TakWolf commented on May 30, 2024

效果很不错,赞一个!
ListView能感受出

from noder-react-native.

osdio avatar osdio commented on May 30, 2024

哈哈,是的,十月份开源。

from noder-react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.