{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1819","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1819/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1819/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1819/events","html_url":"https://github.com/webpack/webpack/issues/1819","id":124271096,"number":1819,"title":"Local tests failing","user":{"login":"pavellishin","id":296084,"avatar_url":"https://avatars.githubusercontent.com/u/296084?v=3","gravatar_id":"","url":"https://api.github.com/users/pavellishin","html_url":"https://github.com/pavellishin","followers_url":"https://api.github.com/users/pavellishin/followers","following_url":"https://api.github.com/users/pavellishin/following{/other_user}","gists_url":"https://api.github.com/users/pavellishin/gists{/gist_id}","starred_url":"https://api.github.com/users/pavellishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavellishin/subscriptions","organizations_url":"https://api.github.com/users/pavellishin/orgs","repos_url":"https://api.github.com/users/pavellishin/repos","events_url":"https://api.github.com/users/pavellishin/events{/privacy}","received_events_url":"https://api.github.com/users/pavellishin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-29T21:31:42Z","updated_at":"2015-12-30T16:28:13Z","closed_at":null,"body":"Not sure what's going on. I'm on OS X 10.10.5.\r\n\r\nThis happens both on the master branch (1f58c55) as well as the v1.12.9 tag.\r\n\r\n```\r\n# npm --version\r\n3.3.12\r\n\r\n# node --version\r\nv5.2.0\r\n\r\n# npm test\r\n\r\n... tests tests tests ...\r\n\r\n  4436 passing (1m)\r\n  32 pending\r\n  6 failing\r\n\r\n  1) ConfigTestCases extract-text issue-14 should compile:\r\n     Error: Cannot find module 'webpack/lib/ConcatSource'\r\n      at Function.Module._resolveFilename (module.js:327:15)\r\n      at Function.Module._load (module.js:278:25)\r\n      at Module.require (module.js:355:17)\r\n      at require (internal/module.js:13:17)\r\n      at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/node_modules/extract-text-webpack-plugin/index.js:5:20)\r\n      at Module._compile (module.js:399:26)\r\n      at Object.Module._extensions..js (module.js:406:10)\r\n      at Module.load (module.js:345:32)\r\n      at Function.Module._load (module.js:302:12)\r\n      at Module.require (module.js:355:17)\r\n      at require (internal/module.js:13:17)\r\n      at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/test/configCases/extract-text/issue-14/webpack.config.js:1:11)\r\n      at Module._compile (module.js:399:26)\r\n      at Object.Module._extensions..js (module.js:406:10)\r\n      at Module.load (module.js:345:32)\r\n      at Function.Module._load (module.js:302:12)\r\n      at Module.require (module.js:355:17)\r\n      at require (internal/module.js:13:17)\r\n      at Context.<anonymous> (/Users/pavel.lishin/projects/webpack/test/ConfigTestCases.test.js:29:20)\r\n      at Test.Runnable.run (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runnable.js:233:15)\r\n      at Runner.runTest (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:390:10)\r\n      at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:473:12\r\n      at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:315:14)\r\n      at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:325:7\r\n      at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:260:23)\r\n      at Immediate._onImmediate (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:292:5)\r\n      at processImmediate [as _immediateCallback] (timers.js:384:17)\r\n\r\n  2) Examples should compile code-splitted-css-bundle:\r\n     Error: Cannot find module 'webpack/lib/ConcatSource'\r\n      at Function.Module._resolveFilename (module.js:327:15)\r\n      at Function.Module._load (module.js:278:25)\r\n      at Module.require (module.js:355:17)\r\n      at require (internal/module.js:13:17)\r\n      at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/node_modules/extract-text-webpack-plugin/index.js:5:20)\r\n      at Module._compile (module.js:399:26)\r\n      at Object.Module._extensions..js (module.js:406:10)\r\n      at Module.load (module.js:345:32)\r\n      at Function.Module._load (module.js:302:12)\r\n      at Module.require (module.js:355:17)\r\n      at require (internal/module.js:13:17)\r\n      at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/examples/code-splitted-css-bundle/webpack.config.js:1:25)\r\n      at Module._compile (module.js:399:26)\r\n      at Object.Module._extensions..js (module.js:406:10)\r\n      at Module.load (module.js:345:32)\r\n      at Function.Module._load (module.js:302:12)\r\n      at Module.require (module.js:355:17)\r\n      at require (internal/module.js:13:17)\r\n      at Context.<anonymous> (/Users/pavel.lishin/projects/webpack/test/Examples.test.js:20:15)\r\n      at Test.Runnable.run (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runnable.js:233:15)\r\n      at Runner.runTest (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:390:10)\r\n      at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:473:12\r\n      at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:315:14)\r\n      at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:325:7\r\n      at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:260:23)\r\n      at Immediate._onImmediate (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:292:5)\r\n      at processImmediate [as _immediateCallback] (timers.js:384:17)\r\n\r\n  3) Examples should compile css-bundle:\r\n     Error: Cannot find module 'webpack/lib/ConcatSource'\r\n    at Function.Module._resolveFilename (module.js:327:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/node_modules/extract-text-webpack-plugin/index.js:5:20)\r\n    at Module._compile (module.js:399:26)\r\n    at Object.Module._extensions..js (module.js:406:10)\r\n    at Module.load (module.js:345:32)\r\n    at Function.Module._load (module.js:302:12)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/examples/css-bundle/webpack.config.js:1:25)\r\n    at Module._compile (module.js:399:26)\r\n    at Object.Module._extensions..js (module.js:406:10)\r\n    at Module.load (module.js:345:32)\r\n    at Function.Module._load (module.js:302:12)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Context.<anonymous> (/Users/pavel.lishin/projects/webpack/test/Examples.test.js:20:15)\r\n    at Test.Runnable.run (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runnable.js:233:15)\r\n    at Runner.runTest (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:390:10)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:473:12\r\n    at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:315:14)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:325:7\r\n    at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:260:23)\r\n    at Immediate._onImmediate (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:292:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:384:17)\r\n  \r\n\r\n  4) Examples should compile i18n:\r\n     Error: Cannot find module 'webpack/lib/dependencies/ConstDependency'\r\n    at Function.Module._resolveFilename (module.js:327:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/node_modules/i18n-webpack-plugin/index.js:5:23)\r\n    at Module._compile (module.js:399:26)\r\n    at Object.Module._extensions..js (module.js:406:10)\r\n    at Module.load (module.js:345:32)\r\n    at Function.Module._load (module.js:302:12)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/examples/i18n/webpack.config.js:2:18)\r\n    at Module._compile (module.js:399:26)\r\n    at Object.Module._extensions..js (module.js:406:10)\r\n    at Module.load (module.js:345:32)\r\n    at Function.Module._load (module.js:302:12)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Context.<anonymous> (/Users/pavel.lishin/projects/webpack/test/Examples.test.js:20:15)\r\n    at Test.Runnable.run (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runnable.js:233:15)\r\n    at Runner.runTest (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:390:10)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:473:12\r\n    at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:315:14)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:325:7\r\n    at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:260:23)\r\n    at Immediate._onImmediate (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:292:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:384:17)\r\n  \r\n\r\n  5) Examples should compile multiple-entry-points-commons-chunk-css-bundle:\r\n     Error: Cannot find module 'webpack/lib/ConcatSource'\r\n    at Function.Module._resolveFilename (module.js:327:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/node_modules/extract-text-webpack-plugin/index.js:5:20)\r\n    at Module._compile (module.js:399:26)\r\n    at Object.Module._extensions..js (module.js:406:10)\r\n    at Module.load (module.js:345:32)\r\n    at Function.Module._load (module.js:302:12)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Object.<anonymous> (/Users/pavel.lishin/projects/webpack/examples/multiple-entry-points-commons-chunk-css-bundle/webpack.config.js:3:25)\r\n    at Module._compile (module.js:399:26)\r\n    at Object.Module._extensions..js (module.js:406:10)\r\n    at Module.load (module.js:345:32)\r\n    at Function.Module._load (module.js:302:12)\r\n    at Module.require (module.js:355:17)\r\n    at require (internal/module.js:13:17)\r\n    at Context.<anonymous> (/Users/pavel.lishin/projects/webpack/test/Examples.test.js:20:15)\r\n    at Test.Runnable.run (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runnable.js:233:15)\r\n    at Runner.runTest (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:390:10)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:473:12\r\n    at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:315:14)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:325:7\r\n    at next (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:260:23)\r\n    at Immediate._onImmediate (/Users/pavel.lishin/projects/webpack/node_modules/mocha/lib/runner.js:292:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:384:17)\r\n  \r\n\r\n  6) Examples should compile web-worker:\r\n     Error: Cannot find module 'webpack/lib/webworker/WebWorkerTemplatePlugin'\r\n @ (webpack)/examples/web-worker/example.js 1:13-39\r\n    at /Users/pavel.lishin/projects/webpack/test/Examples.test.js:44:18\r\n    at Compiler.<anonymous> (/Users/pavel.lishin/projects/webpack/lib/Compiler.js:223:14)\r\n    at Compiler.emitRecords (/Users/pavel.lishin/projects/webpack/lib/Compiler.js:311:37)\r\n    at Compiler.<anonymous> (/Users/pavel.lishin/projects/webpack/lib/Compiler.js:216:11)\r\n    at /Users/pavel.lishin/projects/webpack/lib/Compiler.js:304:11\r\n    at Compiler.applyPluginsAsync (/Users/pavel.lishin/projects/webpack/node_modules/tapable/lib/Tapable.js:60:69)\r\n    at Compiler.afterEmit (/Users/pavel.lishin/projects/webpack/lib/Compiler.js:301:8)\r\n    at Compiler.<anonymous> (/Users/pavel.lishin/projects/webpack/lib/Compiler.js:296:14)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/async/lib/async.js:52:16\r\n    at done (/Users/pavel.lishin/projects/webpack/node_modules/async/lib/async.js:246:17)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/async/lib/async.js:44:16\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/graceful-fs/graceful-fs.js:42:10\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/mocha/node_modules/graceful-fs/graceful-fs.js:104:5\r\n    at FSReqWrap.oncomplete (fs.js:83:15)\r\n \r\n```\r\n\r\nOne of the browser tests is failing as well:\r\n\r\n\r\n```\r\nlibrary2\r\n✓ should run after common\r\n✖ should load stuff with require.ensure asynchron\r\nAssertionError: expected true === false\r\n    at Context.<anonymous> (file:///Users/pavel.lishin/projects/webpack/test/browsertest/js/library2.js:70:11)\r\n    at Test.Runnable.run (file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:3659:32)\r\n    at Runner.runTest (file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:3978:10)\r\n    at file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:4024:12\r\n    at next (file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:3906:14)\r\n    at file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:3915:7\r\n    at next (file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:3863:23)\r\n    at file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:3883:5\r\n    at file:///Users/pavel.lishin/projects/webpack/test/browsertest/mocha.js:4828:44\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/296084/12042469/65d65b5c-ae49-11e5-874f-de864e27d8f9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/168028560","html_url":"https://github.com/webpack/webpack/issues/1819#issuecomment-168028560","issue_url":"https://api.github.com/repos/webpack/webpack/issues/1819","id":168028560,"user":{"login":"pavellishin","id":296084,"avatar_url":"https://avatars.githubusercontent.com/u/296084?v=3","gravatar_id":"","url":"https://api.github.com/users/pavellishin","html_url":"https://github.com/pavellishin","followers_url":"https://api.github.com/users/pavellishin/followers","following_url":"https://api.github.com/users/pavellishin/following{/other_user}","gists_url":"https://api.github.com/users/pavellishin/gists{/gist_id}","starred_url":"https://api.github.com/users/pavellishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavellishin/subscriptions","organizations_url":"https://api.github.com/users/pavellishin/orgs","repos_url":"https://api.github.com/users/pavellishin/repos","events_url":"https://api.github.com/users/pavellishin/events{/privacy}","received_events_url":"https://api.github.com/users/pavellishin/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T16:28:13Z","updated_at":"2015-12-30T16:28:13Z","body":"Switching to node 4.2.4 with `nvm` fixes the above issue, but there's still a failing test:\r\n\r\n\r\n```\r\n# npm --version\r\n2.14.12\r\n\r\n# node --version\r\nv4.2.4\r\n\r\n# npm test\r\n\r\n... tests tests tests ...\r\n\r\n  1) Examples should compile i18n:\r\n     Uncaught TypeError: dep.getReference is not a function\r\n    at processDependency (/Users/pavel.lishin/projects/webpack/lib/FlagDependencyUsagePlugin.js:55:24)\r\n    at /Users/pavel.lishin/projects/webpack/lib/FlagDependencyUsagePlugin.js:42:5\r\n    at Array.forEach (native)\r\n    at processDependenciesBlock (/Users/pavel.lishin/projects/webpack/lib/FlagDependencyUsagePlugin.js:41:26)\r\n    at processModule (/Users/pavel.lishin/projects/webpack/lib/FlagDependencyUsagePlugin.js:37:4)\r\n    at /Users/pavel.lishin/projects/webpack/lib/FlagDependencyUsagePlugin.js:20:6\r\n    at Array.forEach (native)\r\n    at Compilation.<anonymous> (/Users/pavel.lishin/projects/webpack/lib/FlagDependencyUsagePlugin.js:18:23)\r\n    at Compilation.applyPluginsBailResult (/Users/pavel.lishin/projects/webpack/node_modules/tapable/lib/Tapable.js:48:50)\r\n    at Compilation.seal (/Users/pavel.lishin/projects/webpack/lib/Compilation.js:513:8)\r\n    at Compiler.<anonymous> (/Users/pavel.lishin/projects/webpack/lib/Compiler.js:426:15)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/tapable/lib/Tapable.js:103:11\r\n    at Compilation.<anonymous> (/Users/pavel.lishin/projects/webpack/lib/Compilation.js:436:10)\r\n    at /Users/pavel.lishin/projects/webpack/lib/Compilation.js:411:12\r\n    at /Users/pavel.lishin/projects/webpack/lib/Compilation.js:326:10\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/async/lib/async.js:52:16\r\n    at done (/Users/pavel.lishin/projects/webpack/node_modules/async/lib/async.js:246:17)\r\n    at /Users/pavel.lishin/projects/webpack/node_modules/async/lib/async.js:44:16\r\n    at doNTCallback0 (node.js:419:9)\r\n    at process._tickCallback (node.js:348:13)\r\n```"}}