I'm using handlebars-loader and I get this error from the peer dependency handlebars package. I don't understand what I'm doing wrong and why I see the error.
ERROR in ./~/handlebars/runtime.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./dist/cjs/handlebars.runtime in /home/abhisekp/MyProjects/JSApps/MadeWithLove-Webpack/node_modules/handlebars
@ ./~/handlebars/runtime.js 3:17-57
I'm using
handlebars-loader
and I get this error from the peer dependencyhandlebars
package. I don't understand what I'm doing wrong and why I see the error.My
package.json
My
webpack.config.js
My
Components/Button.js
Here is the related error: https://github.com/wycats/handlebars.js/issues/1174