Cannot find module ‘webpack’
Link globally installed package to your project
npm install webpack
npm link webpack
Cannot destructure property createHash
of ‘undefined’ or ‘null’.
update wepback eg.
npm install webpack@4.3 -g