-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. #3356
Labels
needs team repro
We acknowledged your report and will soon try to reproduce it
Comments
LinusBorg
added
the
needs team repro
We acknowledged your report and will soon try to reproduce it
label
Jan 23, 2019
Remove this line in your package.json
|
删除这一行会报其他错误。 |
那就是 vux 的问题,请给他们报 bug |
如果使用了prettier组件,请尝试: |
这个可以解决 |
酷 |
please english guys :) |
prettier need specify a parser. prettier.format(jsxCode, {
...prettierConfig,
parser: 'babel',
}) |
add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.3.0
Reproduction link
https://github.com/410919244/mp-web.git
Environment info
Steps to reproduce
yarn install
yarn run serve
What is expected?
100%
What is actually happening?
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. 65% building 866/940 modules 74 active ...les\vux\src\components\sticky\index.vue
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. 65% building 869/940 modules 71 active ...les\vux\src\components\sticky\index.vue
The error message should be that there is a problem in the configuration. There is no solution on the internet. My technical ability can not solve this problem.
The text was updated successfully, but these errors were encountered: