Babel-loader: DeprecationWarning: loaderUtils.parseQuery()

Created on 15 Mar 2017  路  11Comments  路  Source: babel/babel-loader

Related to loader-utils issue

Webpack Version:
2.2.1

Babel Core Version:
6.24.0

Babel Loader Version:
6.4.0

Please tell us about your environment:
Windows 10, node 7.7.2

Current behavior:
It throws deprecation warnings at lib/index.js:96:35

Most helpful comment

You should use this for installs
npm install babel-loader --save-dev
no need there for commands or the .git#fork...
if you want to install a specific version of it use that
npm install [email protected] --save-dev
read more on npm docs

All 11 comments

@existentialism don't work:( With v7-alpha.3 error "ERROR in Entry module is not found: Error: Can not resolve 'babel-loader'". And I could not solve it in any way :(

[email protected] made the warning go away for me.

What are the known issues of alpha 3 if any?

@phfaster your problem may be in something else, can you post the full error log?

@danielverejan yes, I also think that the error is in another. Webpack does not find loaders installed using the npm commands i --save-dev babel/babel-loader.git#fork

Console offered two debug-files:
2017-03-16T08_10_48_680Z-debug.txt
2017-03-16T08_10_48_688Z-debug.txt

You should use this for installs
npm install babel-loader --save-dev
no need there for commands or the .git#fork...
if you want to install a specific version of it use that
npm install [email protected] --save-dev
read more on npm docs

@danielverejan Thaaanks! I found this installation method when I could not install Gulp.JS version 4 using gulp@4. Now everything works, thanks! :)

@danielverejan
So to solve this issue I should wait for version 7.0.0 to come out?

@burrack or use the v7.0.0-beta.1

Fixed with 7.0.0

Was this page helpful?
0 / 5 - 0 ratings