-
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
HTTPS协议下出现 app.js:1 Uncaught TypeError: o.default._set$app is not a function #3624
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
你好,先将 Taro Cli 和依赖版本升级到 1.3.4 再试一下 |
我把node降级到和文档里一样的8.x的版本了,还是一样的问题 |
没有复现,请提供 demo |
node_modules太大我移除了,可以看一下我编译出来的dist目录下的文件 |
更新: 我发现https连接不行,http可以,但是另外的taro的项目https也可以,nginx配置应该是一样的,在同一个根目录下 |
kennir
changed the title
app.js:1 Uncaught TypeError: o.default._set$app is not a function
HTTPS协议下出现 app.js:1 Uncaught TypeError: o.default._set$app is not a function
Jul 2, 2019
CC @Littly |
如果是http或https的问题,那已经不是taro的范畴了,检查下服务器配置/cdn缓存之类吧。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]
编译成h5版本后出现
app.js:1 Uncaught TypeError: o.default._set$app is not a function
at new App (app.js:1)
at mountComponent (app.js:1)
at ComponentWrapper.init (app.js:1)
at createElement (app.js:1)
at mountVNode (app.js:1)
at Object.render (app.js:1)
at Object. (app.js:1)
at webpack_require (app.js:1)
at Object. (app.js:1)
at webpack_require (app.js:1)
错误
复现步骤
[复现问题的步骤]
删除node, 删除/usr/local/lib/node_modules
安装node:
期望行为
[这里请用简洁清晰的语言描述你期望的行为]
正常出现web页面
报错信息
系统信息
补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]
我同样试过1.3.4,也出现了同样的问题
The text was updated successfully, but these errors were encountered: