Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Uncaught TypeError: apis.getHome is not a function #16

Closed
rjliulei opened this issue Aug 18, 2016 · 4 comments
Closed

Uncaught TypeError: apis.getHome is not a function #16

rjliulei opened this issue Aug 18, 2016 · 4 comments

Comments

@rjliulei
Copy link

我把WeexOne直接放到Weex中在电脑上运行,chrome浏览器显示 Uncaught TypeError: apis.getHome is not a function,这是什么原因?

@flazx
Copy link

flazx commented Sep 7, 2016

我也遇到同样的问题,貌似webpack没有将apis中的export函数内容打包进去而导致的。

@liujianying
Copy link

我的也一样,知道怎么解决么

@liujianying
Copy link

ERROR in ./examples/WeexOne/modules/movie-video.we?entry=true
Template block is required

ERROR in ./examples/WeexOne/common/api.js
Module not found: Error: Cannot resolve module '@weex-module/stream' in /Users/liujianying/Desktop/weex-dev/examples/WeexOne/common
@ ./examples/WeexOne/common/api.js 6:13-43

ERROR in ./examples/WeexOne/common/api.js
Module not found: Error: Cannot resolve module '@weex-module/modal' in /Users/liujianying/Desktop/weex-dev/examples/WeexOne/common
@ ./examples/WeexOne/common/api.js 7:12-41

@dodola
Copy link
Owner

dodola commented Sep 24, 2016

现在不会有这个问题了

@dodola dodola closed this as completed Sep 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants