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

[HAP-DEBUG] [ERRO] 构建错误 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type. #10

Open
vap80963 opened this issue Jul 16, 2019 · 0 comments

Comments

@vap80963
Copy link

vap80963 commented Jul 16, 2019

按照README的操作初始化完项目之后,编译时会报错:

[HAP-DEBUG] [ERRO] 构建错误 Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
image

另外,运行npm run dev的方式能正常打开Web页面,但是npm run qa-watch一直提示无法连接上手机。运行npm run qa-server生成的二维码要在浏览器打开,才可以连接上手机,而且还是报上面的编译错误,无法正常使用。

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

1 participant