question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future.

See original GitHub issue

Version

3.3.0

Reproduction link

https://github.com/410919244/mp-web.git

Environment info

Environment Info:

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
  Binaries:
    Node: 11.7.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.13.0 - C:\word\yarn\bin\yarn.CMD
    npm: 6.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 38.14393.2068.0
  npmPackages:
    vue: ^2.5.2 => 2.5.16
    vue-hot-reload-api: ^2.2.4 => 2.3.0
    vue-html-loader: ^1.2.3 => 1.2.4
    vue-loader: ^13.5.0 => 13.7.1
    vue-router: ^3.0.1 => 3.0.1
    vue-style-loader: ^3.0.3 => 3.1.2
    vue-template-compiler: ^2.2.1 => 2.5.16
    vue-template-es2015-compiler:  1.6.0
    vuex: ^2.2.1 => 2.5.0
  npmGlobalPackages:
    @vue/cli: Not Found

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

17reactions
sodateacommented, Jan 23, 2019

Remove this line in your package.json

"vue-loader": "14.2.2",
12reactions
sebsastianekcommented, Nov 6, 2020

please english guys 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module build failed: Error: No parser and no file path given ...
Downgrade prettier package to version 1.12.1 and stick with it: npm i prettier@1.12.1 --save-dev --save-exact.
Read more >
No parser and no filepath given, using 'babel' the ... - CSDN博客
No parser and no filepath given, using 'babel' the parser now but this will throw an error in t he future. Please specify...
Read more >
prettier no parser and no filepath given
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a...
Read more >
Problem with installation - Development
The issue with “No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future....
Read more >
Run Prettier in Sage 9 with Tailwind - Roots Discourse
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found