Tencent / Hippy

Hippy is designed to easily build cross-platform dynamic apps. 👏

Home Page:https://hippyjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hippy-vue-next-demo 启动web renderer问题

daijingfeng opened this issue · comments

Describe the bug
在main分支下,driver/js/examples/hippy-vue-next-demo,执行npm run web:dev后,再打开3000端口,未能正常显示页面。报错信息如图。
企业微信截图_330be947-ae45-41e8-acf5-c725291220f9

To Reproduce
Steps to reproduce the behavior:

  1. cd driver/js/examples/hippy-vue-next-demo
  2. npm i
  3. npm run web:dev
  4. 打开localhost:3000

Expected behavior
master分支下,examples/hippy-vue-next-demo,执行npm run web:dev,可以正常访问localhost:3000页面。
企业微信20240318-140718@2x

Smartphone (please complete the following information):

  • Device: Mac M1
  • Node version: 16.16.0

楼主解决了吗?我也遇到了这个问题,并且master上的vue-next-demo点击等事件没法触发

Pay attention 🛎️ !!
There has been no activity on this issue for 2 months, so I will label it stalled.
It will be automatically closed in 60 days if no more activity. Feel free to leave a comment if you have any questions.

master分支启动后不能点击的问题,我也遇到了,解决方案参考:#3176

example 的 hippy-react-demo 项目下,执行 web:dev 和 web:build 编译运行的时候,在 Chrome 浏览器打开页面点击组件不能触发 onClick 事件,但是 F12 进入开发者模式 => 选择移动端浏览器,点击的时候就能触发 onClick 事件;
同时,执行 serve 和 build 构建后的时候都可以触发 onClick

SceneBuilder报错的问题:目前3.x对web端支持还未适配。SceneBuilder在web端未实现。

楼主解决了吗?我也遇到了这个问题