Skip to content
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

webpack@alpha is broken against webpack-cli@latest #762

Closed
TheLarkInn opened this issue Feb 18, 2019 · 1 comment · Fixed by #763
Closed

webpack@alpha is broken against webpack-cli@latest #762

TheLarkInn opened this issue Feb 18, 2019 · 1 comment · Fixed by #763
Labels

Comments

@TheLarkInn
Copy link
Member

Describe the bug
image

Done in 4.37s.
➜  v5-webpack yarn webpack
yarn run v1.5.1
(node:11347) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning package.json: No license field
$ /mnt/c/Users/Administrator/Code/v5-webpack/node_modules/.bin/webpack
/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack-cli/bin/cli.js:492
        } else if (stats.hash !== lastHash) {
                         ^

TypeError: Cannot read property 'hash' of undefined
    at compilerCallback (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack-cli/bin/cli.js:492:26)
    at AsyncParallelHook.eval [as callAsync] (eval at create (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
    at AsyncParallelHook.lazyCompileHook (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/tapable/lib/Hook.js:154:20)
    at Cache.shutdown (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack/lib/Cache.js:75:23)
    at Compiler.close (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack/lib/Compiler.js:696:14)
    at processOptions (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack-cli/bin/cli.js:533:38)
    at yargs.parse (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack-cli/bin/cli.js:537:5)
    at Object.parse (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/yargs/yargs.js:567:18)
    at /mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack-cli/bin/cli.js:219:9
    at Object.<anonymous> (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack-cli/bin/cli.js:539:3)
    at Module._compile (internal/modules/cjs/loader.js:736:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:747:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:568:12)
    at Function.Module._load (internal/modules/cjs/loader.js:560:3)
    at Module.require (internal/modules/cjs/loader.js:665:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/mnt/c/Users/Administrator/Code/v5-webpack/node_modules/webpack/bin/webpack.js:153:2)
    at Module._compile (internal/modules/cjs/loader.js:736:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:747:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:568:12)
    at Function.Module._load (internal/modules/cjs/loader.js:560:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:801:12)
    at executeUserCode (internal/bootstrap/node.js:526:15)
    at startMainThreadExecution (internal/bootstrap/node.js:439:3)
error An unexpected error occurred: "Command failed.

Additional context
PR Incoming

@evenstensberg
Copy link
Member

You're the best bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants