面板开发- yarn start 的问题

小程序开发相关产品技术讨论,包括面板、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
VENZ_wu
Posts: 37

各位涂鸦的开发者,我在Windows平台开发 面板的时候,遇到如下问题,帮忙分析,运行 下面命令后,cmd 一直停留在一下界面
D:\work\Tuya\tuya-panel-demo\examples\gatewayZigbee>yarn && yarn start
yarn install v1.22.19
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
$ patch-package --patch-dir node_modules/@tuya/tuya-panel-patches/patches
patch-package 6.5.0
Applying patches...
react-native@0.59.10 ✔
react-native-svg@5.5.1 ✔
Done in 7.55s.
yarn run v1.22.19
$ node node_modules/react-native/local-cli/cli.js start
┌──────────────────────────────────────────────────────────────────────────────┐
│ │
│ Running Metro Bundler on port 8081. │
│ │
│ Keep Metro running while developing on any JS projects. Feel free to │
│ close this tab and run your own Metro instance if you prefer. │
│ │
https://github.com/facebook/react-native
│ │
└──────────────────────────────────────────────────────────────────────────────┘

Looking for JS files in
D:\work\Tuya\tuya-panel-demo\examples\gatewayZigbee

Loading dependency graph...

请问,是什么原因呢?

lshinylee
Posts: 312

Re: 面板开发- yarn start 的问题

这个说明启动已经正常了,找个调试 app 加载代码吧,https://developer.tuya.com/cn/docs/iot/ ... 5%E9%AA%A4

:D :D :D

VENZ_wu
Posts: 37

Re: 面板开发- yarn start 的问题

感谢。
我还以为启动后会弹出一个模拟器,显示面板的界面。 :D

Post Reply