-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Cannot find module @3.2.0 #225
Comments
I'm having what appears to be a similar issue. Do you manage to fix it? @xiaoyunchen
|
I did manage to resolve my issue... I was accidentally importing a Component in Angular2 from outside the root of the project. |
Please use Stackoverflow for questions using the webpack tag. This way, a much larger user-base is able to benefit from the answer and there are more people how actually answer it. If this is a bug report, please provide a small example project. |
Here is my source code :
import "./titlebar.scss";
and the webpack-config:
loaders: [ { test: /\.js?$/, loader: 'babel', query: { presets: ['es2015'] } }, {test: /\.css$/, loader:'style-loader!css-loader' }, {test: /\.scss$/, loaders: ["style", "css", "sass"] }, //sass {test: /\.html$/, loader: "html" }, {test: /\.(png|jpg)$/, loader: 'url-loader?limit=8192&name=./img/[hash].[ext]'} ]
and the output file error like this :
// load the styles var content = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module \"!!./../../../node_modules/css-loader/index.js!./../../../node_modules/sass-loader/index.js!./titlebar.scss\""); e.code = 'MODULE_NOT_FOUND'; throw e; }()));
Any ideas or missed something important?
The text was updated successfully, but these errors were encountered: