Skip to content
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

直接部署有问题 #32

Open
hahafeixiu opened this issue Sep 6, 2017 · 2 comments
Open

直接部署有问题 #32

hahafeixiu opened this issue Sep 6, 2017 · 2 comments

Comments

@hahafeixiu
Copy link

我是刚接触weex,没有前端的经验;所以按照你的项目步鄹去部署;出现以下问题(因为我是小白,所以如果有解决办法是否能回答的详细点,万分感谢!):
ERROR in ./src/entry.js
Module build failed: TypeError: fileSystem.statSync is not a function
at module.exports (/Users/ge-boox/Downloads/git_other/weex-frame/node_modules/babel-loader/lib/utils/exists.js:7:25)
at find (/Users/ge-boox/Downloads/git_other/weex-frame/node_modules/babel-loader/lib/resolve-rc.js:13:9)
at Object.module.exports (/Users/ge-boox/Downloads/git_other/weex-frame/node_modules/babel-loader/lib/index.js:113:132)

ERROR in .//weex-vue-loader/lib/script-loader.js!.//babel-loader/lib!./~/weex-vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
Module build failed: TypeError: fileSystem.statSync is not a function

@Lanceloft
Copy link

根目录修改package.json,把babel-loader改为^6.1.1即可

@walid1992
Copy link
Owner

@hahafeixiu 已降级 babel-loader 至 6.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants