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

DeprecationWarning: loaderUtils.parseQuery() #422

Closed
DanielBadan opened this issue Mar 15, 2017 · 11 comments
Closed

DeprecationWarning: loaderUtils.parseQuery() #422

DanielBadan opened this issue Mar 15, 2017 · 11 comments

Comments

@DanielBadan
Copy link

DanielBadan commented Mar 15, 2017

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

@existentialism
Copy link
Member

@danielverejan try https://github.com/babel/babel-loader/releases/tag/v7.0.0-alpha.3

@phfaster
Copy link

@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 :(

@mnpenner
Copy link

babel-loader@7.0.0-alpha.3 made the warning go away for me.

@DanielBadan
Copy link
Author

What are the known issues of alpha 3 if any?

@DanielBadan
Copy link
Author

DanielBadan commented Mar 16, 2017

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

@phfaster
Copy link

phfaster commented Mar 16, 2017

@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

@DanielBadan
Copy link
Author

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 babel-loader@7.0.0-alpha.3 --save-dev
read more on npm docs

@phfaster
Copy link

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

@burrack
Copy link

burrack commented Mar 30, 2017

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

@DanielBadan
Copy link
Author

DanielBadan commented Mar 31, 2017

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

@danez
Copy link
Member

danez commented Apr 22, 2017

Fixed with 7.0.0

@danez danez closed this as completed Apr 22, 2017
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

6 participants