electron-react-webpack icon indicating copy to clipboard operation
electron-react-webpack copied to clipboard

Webpack error

Open iyudincev opened this issue 7 years ago • 7 comments

The template won't build on npm start, the error follows:

/home/osboxes/test/node_modules/webpack-cli/bin/config-yargs.js:89
		describe: optionsSchema.definitions.output.properties.path.description,
		                                           ^

TypeError: Cannot read property 'properties' of undefined
    at module.exports (/home/osboxes/test/node_modules/webpack-cli/bin/config-yargs.js:89:48)
    at /home/osboxes/test/node_modules/webpack-cli/bin/webpack.js:60:27
    at Object.<anonymous> (/home/osboxes/test/node_modules/webpack-cli/bin/webpack.js:515:3)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)

iyudincev avatar Sep 27 '18 13:09 iyudincev

same error..

pratapdd avatar Sep 29 '18 17:09 pratapdd

downgrading from 4.20.0 to 4.19.0 , worked for me now.

pratapdd avatar Sep 29 '18 17:09 pratapdd

I solved it "webpack-cli": "^2.0.11" -> "webpack-cli": "^3.1.2"

webpack update!!!!

iinow avatar Oct 06 '18 11:10 iinow

I do fix this issue in my pull request #14

MrRefactoring avatar Nov 09 '18 18:11 MrRefactoring

Perfecto!!

p32929 avatar Dec 06 '18 05:12 p32929

@pastahito Please update the package.json file so that users like me don't need to come to this page for troubleshooting.

abhishekchotaliya avatar Mar 18 '19 07:03 abhishekchotaliya

I do fix this issue in my pull request #14

Please, accept this PR, it does overcome this issue

diegodorado avatar Jun 22 '19 19:06 diegodorado