Webpacker: No parser and no filepath given errors when running webpack-dev-server

Created on 5 Oct 2018  路  2Comments  路  Source: rails/webpacker

I've generated a new project using rails new myapp --webpack=vue and the ./bin/webpack-dev-server gives a lot warnings:

No parser and no filepath given, using 'babylon' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.

Any idea what can it be?

Thanks

Most helpful comment

Apparently the issue was from vue-loader. I had to upgrade to v15 and use this quick fix. Thank you!

All 2 comments

Apparently the issue was from vue-loader. I had to upgrade to v15 and use this quick fix. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

christianrojas picture christianrojas  路  3Comments

pioz picture pioz  路  3Comments

eriknygren picture eriknygren  路  3Comments

ankitrg picture ankitrg  路  3Comments

FrankFang picture FrankFang  路  3Comments