Open MaxflowO2 opened 3 years ago
[webpack-cli] Error: Unknown option '-p' [webpack-cli] Run 'webpack --help' to see available commands and options npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! intergram@0.0.1 build: shx mkdir -p dist && shx cp *.html dist && shx cp -r ./media dist && shx cp -r ./css dist && webpack -p npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the intergram@0.0.1 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
shx mkdir -p dist && shx cp *.html dist && shx cp -r ./media dist && shx cp -r ./css dist && webpack -p
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-07-04T20_52_38_551Z-debug.log
the webpack -p is the issue
[webpack-cli] Error: Unknown option '-p' [webpack-cli] Run 'webpack --help' to see available commands and options npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! intergram@0.0.1 build:
shx mkdir -p dist && shx cp *.html dist && shx cp -r ./media dist && shx cp -r ./css dist && webpack -p
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the intergram@0.0.1 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-07-04T20_52_38_551Z-debug.log