← All tasks
javascriptwebpack/sass-loader #605Verified, not scored yet

Unable to run test-source-map

envgap__webpack__sass-loader-605

01 / FAILURE SIGNATURE

As reported upstream

Error: Cannot find module 'webpack/bin/config-yargs'
Not scored yet.
  • The failure reproduces in a clean container and the known fix makes the project run; it has not been scored yet.

02 / ENVIRONMENT RECIPE

Base commit
b7aca40d0e9f0aedacefc61d4e9e37b6b608bb04
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

webpack/sass-loader #605 · read the original issue
With fresh install, trying to run `test-source-map` script Error is thrown.



From what I saw looking for this issue, there is miss match of webpack&company:



https://github.com/mzgoddard/jest-webpack/issues/27#issuecomment-389309208

https://github.com/mzgoddard/jest-webpack/issues/27#issuecomment-376069277



Here is complete log:



```sh

✗ node -v

v8.9.4



✗ npm run test-source-map



> sass-loader@7.1.0 test-source-map /Users/bmihelac/tmp/sass-loader

> webpack-dev-server --config test/sourceMap/webpack.config.js --content-base ./test/sourceMap --inline



module.js:540

    throw err;

    ^



Error: Cannot find module 'webpack/bin/config-yargs'

    at Function.Module._resolveFilename (module.js:538:15)

    at Function.Module._load (module.js:468:25)

    at Module.require (module.js:587:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (/Users/bmihelac/tmp/sass-loader/node_modules/webpack-dev-server/bin/webpack-dev-server.js:49:1)

    at Module._compile (module.js:643:30)

    at Object.Module._extensions..js (module.js:654:10)

    at Module.load (module.js:556:32)

    at tryModuleLoad (module.js:499:12)

    at Function.Module._load (module.js:491:3)

```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]