-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
Module build failed #4
Comments
Had same issue just using 'bootstrap-loader' entry point. |
@simkessy @bmanturner Can you please compare your setup to https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/webpack.client.rails.hot.config.js#L22 Are both of you on Windows. Neither @alexfedoseev nor I have windows boxes to test on. We'd appreciate any PRs to making this work on Windows. @simkessy, you pasted:
Note the 'b' in bootstrap is not a b. |
Actually, it looks like we're escaping all the characters following the ''. Maybe we need double backslashes. |
@justin808 I ended up figuring out how to get bootstrap.css from the node_module
So I'm not using boostrap-loader at the moment. But yea sometimes in windows you need double backslahes but I can't confirm. Thanks for the response though |
This issue could be related: shakacode/bootstrap-sass-loader#14 @fcaballero, any ideas? |
Hi @justin808, I have no idea why is happening this, I just see the code and it's changed the backslashes, unfortunately I'm not able to find a solution and debug the code since I no longer use windows :( because of this sort of problems... |
@simkessy @bmanturner Do you use custom loglevel: debug Run build and post here output from console + contents of your If you don't have custom
And post here output from console. Thanks! |
Btw |
Hmm. Just tested this by clearing my npm cache and uninstalling bootstrap-loader (and also double checking that the entry was indeed removed from package.json). I still get 0.0.5 by default on install. |
@jeffhertzler Can you post output of |
|
adding |
@jeffhertzler did that fix the issue? |
Using 1.0.0-rc fixed the windows issue, yes. I still receive 0.0.5 by default when installing bootstrap-loader without specifying a specific version or latest though. Cleared npm cache and tried to install into a fresh project that's basically an empty package.json. |
@simkessy Please confirm that after upgrade to @jeffhertzler I guess I had similar issue with React Router's RC and as far as I remember different versions of |
Thanks! |
I just checked and I was using version 0.0.5. 1.0.0.-rc works fine. thanks |
Awesome 👍 |
I'm seeing the same error: Error:
I'm using it in my webpack config as part of an array of entries: I also have |
@ericdfields We'll need some more help from you to debug your issue. |
I will isolate the case and follow up!
|
Alright, here's the webpack conf I'm working with:
My directory structure is
In package.json, I have a script 'dev': I'm guessing the fact that the webpack config is one dir below node_modules has something to do with it? In order to read .bootstraprc properly, it seems that I have to have it in the root directory alongside package.json and node_modules |
@justin808 btw thanks for all your rails on maui work. That was my foothold into working with webpack alongside a rails environment! |
nvm, got it. I used the bootstraprc out of one of the examples and it it made reference to a file path I don't use. thanks for the consideration. |
@ericdfields You're welcome! |
@ericfields just to mention, did the same mistake and took some time to correct it. Thanks for your closure comment though. |
I followed the instructions but I keep getting errors:
My entry file looks like this:
Webpack config:
And I have all the loaders setup
The text was updated successfully, but these errors were encountered: