-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
小程序转H5,浏览器提示找不到Nerv对象 #3158
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
taro 版本多少,再贴一下你的 app.js 代码 |
升级一下 v1.3.0-beta.6 然后把 |
已经升级了 v1.3.0-beta.6. 仍然在dev:h5 或者 build:h5的时候提示 Nerv not define。在app.js 添加 ‘’import Nerv from "nervjs"; 才可以 |
你好 你这个问题解决了么 |
贴一下转换后的 app.js 代码看看? |
以下是微信小程序官方组件demo picker的转换成h5的app.js文件内容
|
CC @Littly |
之前1.3.2版本还是有的;发布新版本后,这个问题好像已经没有再复现了 |
小程序转H5,浏览器提示找不到Nerv对象,转换成功了,
Compiled successfully!
但是H5打开的时候报错

The text was updated successfully, but these errors were encountered: