-
-
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
ERROR in Entry module not found: Error: Can't resolve 'babel' #234
Comments
+1 |
I got the same too.. Any problem? |
+1 |
是webpack版本太高了,我暂时的解决办法是指定webpack的版本。
|
if you want to work with latest versions of webpack@2.1.0-beta.26 and webpack-dev-server@2.1.0-beta.11, you can simply add this to your webpack configuration:
This is because webpack@2.1.0-beta.26 introduced a breaking change: they no longer add the |
Ozeebee, I tried adding this to my web pack config.js, but still get this error: ERROR in Entry module not found: Error: Can't resolve 'babel-loader' in |
@MincePie This might be due to missing dependencies. Source: https://stackoverflow.com/questions/42781250/error-webpack-2-cant-resolve-babel-loader |
Thanks @ozeebee - i deleted and reinstalled. That worked. |
I had this problem in atom's terminal. |
Greetings! Just solved this problem for me. In my case, it was caused by 2 npm modules I decided to use on my React Application for validating I thought it was OK since I have already used it succesfully for server side validation, but I was wrong. I am not completely sure, but I think these modules are only available to be used on React apps runned below Babel. After i removed them using "yarn remove "(or "npm remove", whatever you prefer), and restarted the react server, the problem has been solved for me. Hope this works 4 you |
I got this error when i type the following, and before that I have installed the dependencies without error:
npm run build
Two days ago, I typed this command and build, it works well.
'webpack-simple' is the template in this project.
I know this may result from the npm package.
Maybe some packages owner delete their dependency, or just the template should be updated?
The detail shows here:
Thanks.
The text was updated successfully, but these errors were encountered: